Skip to main content
GET
cURL

Authorizations

Headout-Auth
string
header
required

Query Parameters

variantId
string
required

ID of the variant to list inventory for.

startDateTime
string<date-time>

Start of the date range to fetch inventory for (format: yyyy-MM-dd'T'HH:mm:ss). Defaults to the current timestamp if not provided.

endDateTime
string<date-time>

End of the date range to fetch inventory for (format: yyyy-MM-dd'T'HH:mm:ss). Defaults to no end limit (returns all future slots) if not provided.

offset
integer
default:0

Number of items to skip before starting to collect the result set.

limit
integer
default:10

Maximum number of items to return.

currencyCode
string

Currency code for inventory pricing.

Response

200 - application/json

Successful response

items
object[]

The inventory slots in this page of results.

nextUrl
string | null

Full URL to fetch the next page of results. Null if on the last page.

prevUrl
string | null

Full URL to fetch the previous page of results. Null if on the first page.

total
integer

Total number of available inventory slots across all pages.

nextOffset
integer | null

Offset value to use in the next request to retrieve the following page.