List orders
Changed onReturns a paginated list of orders scoped to the caller account. A creation-date window (createdFrom/createdTo, ISO 8601, max 6 months apart) is required; status, channel filters, free-text search and sorting are optional.
Request
- Base URLhttps://oms-api.tenant.krzlabs.io
- Auth
- HTTP basic
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Response
Paginated list of orders.
Example response
{
"meta": {
"total": 42,
"pages": 3,
"current_page": 1,
"next_page": 2,
"limit": 20
}
}Changes
- breaking
added the new required
queryrequest parametercreatedFrom - breaking
added the new required
queryrequest parametercreatedTo - info
added the new optional
queryrequest parameterchannelId - info
added the new optional
queryrequest parametercustomerId - info
added the new optional
queryrequest parameterlimit - info
added the new optional
queryrequest parameterpage - info
added the new optional
queryrequest parameterq - info
added the new optional
queryrequest parametersortBy - info
added the new optional
queryrequest parametersortOrder - info
added the new optional
queryrequest parameterstatus - info
added the required property
//to the response with the status - info
added the required property
//to the response with the status - info
added the required property
//to the response with the status - info
added the required property
//to the response with the status - info
added the required property
//to the response with the status - info
added the required property
//to the response with the status
- breaking
- info
endpoint added
- info