AI agent? Read this page as Markdown at /commerce/inventory/List_all_inventories.md — append .md to any docs URL, or start from /llms.txt.
List all inventories
GET/commerce/{connection_id}/inventory
Parameters
limitnumber default=100
offsetnumber default=0
updated_gtedate
Return only results whose updated date is equal or greater to this value (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
sort enum
order enum
querystring
Query string to search. eg. email address or name
item_variant_idstring
The item variant ID to filter by (reference to CommerceCommerceItemvariant)
location_idstring
The location ID to filter by (reference to CommerceLocation)
item_idstring
The item ID to filter by (reference to CommerceItem)
fieldsstring array
Fields to return
rawstring
Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar
connection_idstring required
ID of the connection
Returns
CommerceInventoryarray
idstring
updated_atdate
(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
item_idstring
(reference to CommerceItem)
item_variant_idstring
(reference to CommerceCommerceItemvariant)
item_option_idstring
location_idstring
(reference to CommerceLocation)
availablenumber
const options = {
method: 'GET',
url: 'https://api.unified.to/commerce/5de520f96e439b002043d8dc/inventory',
headers: {
authorization: 'bearer .....'
},
params: {
limit: 50,
offset: 0,
updated_gte: '2026-08-21T21:00:31.201Z',
sort: 'updated_at',
order: 'asc',
query: '',
item_variant_id: '',
location_id: '',
item_id: '',
fields: '',
raw: '',
}
};
const results = await axios.request(options); Are we missing anything? Let us know