Retrieve Inventory

Returns a paginated list of vehicles for an enterprise and team, drawn from the inventory search index.

sort_by, created_at and updated_at are JSON objects passed as query parameters — send them URL-encoded, for example sort_by={"creation_epoch":"desc"}.

The response body is returned exactly as the inventory service produces it.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
string
required

The enterprise to list inventory for.

string
required

The team (rooftop) to list inventory for. Must belong to the enterprise, or the request is rejected with 400.

integer
required

1-based page number.

integer
required

Number of records per page.

json

Sort order, as {"creation_epoch": "asc"} or {"creation_epoch": "desc"}. "Note": creation_epoch is the only supported sort key.

json

Creation-date window, as {"from": "YYYY-MM-DD", "to": "YYYY-MM-DD"}. Both keys are required when this parameter is used. "Note": there is a known issue where the two bounds are applied in reverse, so a normal fromto window currently matches nothing. Track this before relying on the filter.

json

Update-date window, as {"from": "YYYY-MM-DD", "to": "YYYY-MM-DD"}. Both keys are required when supplied. "Note": there is a known issue where the two bounds are applied in reverse, so a normal fromto window currently matches nothing. Track this before relying on the filter.

boolean

Restrict the list to sold (true) or unsold (false) vehicles. Omit to include both.

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json