Get quantities from a partner (up to 200 per request)
Changed onRetrieve available quantities sorted by sku name in ascending.The maximum number of returned quantities is limited to 200.
Request
- Base URLhttps://api.otto.market
- URLhttps://api.otto.market/v1/availability/quantities
- AuthHTTP bearer
Query parameters
The maximum number of available quantities to be returned in each response.
Page number (0..N)
Cursor for paging requests. If a cursor is provided, the only other request parameter being considered is 'limit'. The cursor value is the last evaluted sku in the request response (Needs to be a valid sku value)
Headers
Access Token
Response
Ok
Example response
{
"resources": {
"variations": [
{
"lastModified": "2024-07-18T07:20:06.260124Z",
"quantity": "123",
"sku": "MOCK-CABINET-1",
"links": [
{
"rel": "self",
"href": "/v1/availability/quantities/MOCK-CABINET-1"
}
]
},
{
"lastModified": "2024-06-03T10:30:13.972203Z",
"quantity": "123",
"sku": "SANDWICH-1",
"links": [
{
"rel": "self",
"href": "/v1/availability/quantities/SANDWICH-1"
}
]
}
]
},
"links": [
{
"rel": "next",
"href": "/v1/availability/quantities?cursor=SANDWICH-1"
}
]
}Changes
- warning
added the new
prevenum value to the//response property for the response status - warning
added the new
prevenum value to the/////response property for the response status - warning
added the new
selfenum value to the//response property for the response status - warning
added the new
selfenum value to the/////response property for the response status
- warning