Upload Stock
The following API allow you to upload inventory i.e. keys to a single Offer/Auction.
PUT
/offer/upload-keys
Headers
Name
Value
Content-Type
application/json
Authorization
Bearer <token>
Body
Supported arguments
Param
Param Type
Type
Required
Description
offerId
body
Number
Yes
ID of the offer
cogs
body
Number
No
Cost of purchasing a single key
keys
body
Yes
Array of keys to be uploaded
KeyUploadType
Param
Type
Required
Description
key
string
Yes
name
string
Yes, in case of image key
Name of key
type
string
Yes
Key format. supported vlaues: text
, image
Response
Last updated