List all availabilities
GET/commerce/{connection_id}/availability
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
location_idstring
The location ID to filter by (reference to CommerceLocation)
start_gtestring
The start date to filter by (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
end_ltstring
The end date to filter by (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
item_idstring
The item ID to filter by (reference to CommerceItem)
user_idstring
The user/employee ID to filter by (reference to HrisEmployee)
sizestring
Filter by party size (dining)
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
CommerceAvailabilityarray
location_idstring
(reference to CommerceLocation)
start_atdate
(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
end_atdate
(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
sizenumber
item_idstring
(reference to CommerceItem)
staff_user_idstring
(reference to HrisEmployee)
const options = {
method: 'GET',
url: 'https://api.unified.to/commerce/5de520f96e439b002043d8dc/availability',
headers: {
authorization: 'bearer .....'
},
params: {
limit: 50,
offset: 0,
updated_gte: '2026-06-26T21:08:49.521Z',
sort: 'updated_at',
order: 'asc',
query: '',
location_id: '',
start_gte: '',
end_lt: '',
item_id: '',
user_id: '',
size: '',
fields: '',
raw: '',
}
};
const results = await axios.request(options); Are we missing anything? Let us know