Inventory Actions
Last updated
Last updated
The following APIs allows following actions on a single key:
Mark Key as active
Mark key as inactive
delete
a key
The following API allows to mark a single key as active or inactive
PUT
/key/toggle
Headers
Content-Type
application/json
Authorization
Bearer <token>
Supported Arguments
offerId
body
number
Yes
ID of the Offer
type
body
string
Yes
action type: disable
, enable
Body
Response
The following API removes a key from the inventory.
DELETE
/key
Headers
Content-Type
application/json
Authorization
Bearer <token>
hash
query
string
Yes
hash of the key
Response
The following API request allow you to delete keys from inventory in bulk.
POST
/seller/offer/delete-key-bulk
Headers
Content-Type
application/json
Authorization
Bearer <token>
Body
hashes
body
array<string>
Yes
array of hashes of the keys to be deleted
Response
/key/toggle
Authorization token in Bearer <token> format. Example: Bearer dvakycjgw8liyd278y
disable
, enable
/key
Authorization token in Bearer <token> format. Example: Bearer dvakycjgw8liyd278y
/seller/offer/delete-key-bulk
Authorization token in Bearer <token> format. Example: Bearer dvakycjgw8liyd278y