Axerity

Get inventory

Returns a map of status codes to quantities.

GET https://petstore3.swagger.io/api/v3/store/inventory

Headers

api_key string

Your store API key.

Returns

data object

A map of status names to the number of pets with that status.

Request
curl https://petstore3.swagger.io/api/v3/store/inventory \  -H "api_key: special-key"
Response
{ "available": 12, "pending": 3, "sold": 8 }