The Inventory API provides a comprehensive set of endpoints to interact with inventories.
Last updated 4 months ago
GET /v1/community/{ckey}/inventory HTTP/1.1 Host: Accept: */*
Generic Client Error
{ "code": 10002, "message": "generic_client_error" }
GET /v1/community/{ckey}/inventory/slots?userId=text HTTP/1.1 Host: Accept: */*
GET /v1/community/{ckey}/inventory/slots/{slotId}/items?onlyOwned=text HTTP/1.1 Host: Accept: */*
GET /v1/community/{ckey}/inventory/items/{itemId} HTTP/1.1 Host: Accept: */*
GET /v1/community/{ckey}/inventory/avatar?userId=text HTTP/1.1 Host: Accept: */*
GET /v1/community/{ckey}/inventory/items?onlyOwned=text&userId=text HTTP/1.1 Host: Accept: */*
POST /v1/community/{ckey}/inventory/slots/allocate HTTP/1.1 Host: Content-Type: application/json Accept: */* Content-Length: 45 { "slots": [ { "slotId": "text", "itemId": "text" } ] }
No content
POST /v1/community/{ckey}/inventory/avatar/mint HTTP/1.1 Host: Content-Type: application/json Accept: */* Content-Length: 21 { "blockchain": "text" }