Inventory Actions
The following APIs allows following actions on a single key:
Mark Key as
activeMark key as
inactivedeletea key
Toggle Keys (Active/Inactive)
The following API allows to mark a single key as active or inactive
Supported arguments
Authorization token in Bearer format. Example: Bearer dvakycjgw8liyd278y
Default Response
Bad Request. Wrong/Invalid params format.
UnAuthorized request. Invalid/Expired token
Forbidden Request. Action not allowed or Rate Limit exhausted.
Server Error.
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
Delete Key
The following API removes a key from the inventory.
DELETE /key
Headers
Content-Type
application/json
Authorization
Bearer <token>
Supported arguments
hash
query
string
Yes
hash of the key
Response
Authorization token in Bearer format. Example: Bearer dvakycjgw8liyd278y
Default Response
Bad Request. Wrong/Invalid params format.
UnAuthorized request. Invalid/Expired token
Forbidden Request. Action not allowed or Rate Limit exhausted.
Server Error.
Bulk Delete Keys
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
Authorization token in Bearer format. Example: Bearer dvakycjgw8liyd278y
Default Response
Default Response
Last updated