GET /commerce/orders
Changed onGets a list of orders for a business.
Request
- Base URLhttps://api.railz.ai
- AuthHTTP bearer
Query parameters
Unique business name identifier.
Name of commerce service.
The offset is the position in the dataset of a particular record.
This is the size of the results set you would like (default: 100).
Response
Example response
{
"data": [
{
"id": "450789469",
"orderNumber": "1001",
"fulfillmentRefs": [
{
"carrier": "USPS",
"trackingNumber": "1Z2345",
"service": "manual",
"trackingUrl": "https://tools.usps.com/go/TrackConfirmAction_input?qtc_tLabels1=1Z2345"
}
],
"lines": [
{
"id": "466157049",
"balances": [
{
"date": "2022-03-11T11:29:03-05:00"
}
],
"accountRef": {
"id": "145",
"name": "Example account"
},
"customerRef": {
"id": "145",
"name": "Example account"
},
"trackingCategoryRefs": [
{
"id": "4040",
"name": "Region",
"type": "class"
}
]
}
],
"refundRefs": [
{
"totalAmount": 2
}
],
"transactionSourceRefs": [
{
"id": "699519475",
"type": "payment"
}
],
"shippingAddress": {
"line1": "1234 Park Street",
"line2": "Suite 1000",
"city": "Toronto",
"region": "ON",
"country": "CAN",
"postalCode": "A0B1C2"
},
"billingAddress": {
"line1": "1234 Park Street",
"line2": "Suite 1000",
"city": "Toronto",
"region": "ON",
"country": "CAN",
"postalCode": "A0B1C2"
},
"customerRef": {
"id": "207119551",
"customerName": "Amelia Earhart",
"email": "Amelia.Earhart@example.com"
},
"currencyRef": {
"symbol": "CAD",
"name": "Canadian Dollar"
},
"totalShippingAmount": 30,
"totalGratuityAmount": 4.87,
"totalTaxAmount": 11.94,
"totalAmount": 598.94,
"createdDate": "2022-03-11T11:29:03-05:00",
"sourceModifiedDate": "2022-03-11T11:29:03-05:00"
}
],
"count": 1,
"meta": {
"reportId": [
"5fad8a342a88364234392fb5"
],
"serviceName": "xero",
"businessName": "Railz",
"createdAt": "2020-11-25T01:02:03Z",
"updatedAt": "2020-11-30T01:02:03Z",
"startDate": "2020-11-25T01:02:03Z",
"endDate": "2020-11-30T01:02:03Z"
}
}Changes
- info
api tag
Orderadded
- info
- breaking
the response property
////became optional for the status - breaking
the response property
////became optional for the status - breaking
removed the required property
////from the response with the status - breaking
removed the required property
////from the response with the status - breaking
removed the required property
////from the response with the status - breaking
removed the required property
////from the response with the status - breaking
removed the required property
////from the response with the status - breaking
removed the required property
////from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
////from the response with the status - warning
removed the optional property
////from the response with the status - warning
removed the optional property
////from the response with the status - warning
removed the optional property
////from the response with the status - warning
removed the optional property
////from the response with the status - warning
removed the optional property
////from the response with the status - warning
removed the optional property
////from the response with the status - warning
removed the optional property
////from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
added the new
byodenum value to the/response property for the response status - warning
added the new
byodenum value to the/response property for the response status - warning
added the new
dynamics365Financeenum value to the/response property for the response status - warning
added the new
dynamics365Financeenum value to the/response property for the response status - warning
added the new
dynamicsBusinessCentralenum value to the/response property for the response status - warning
added the new
dynamicsBusinessCentralenum value to the/response property for the response status - warning
added the new
freshbooksenum value to the/response property for the response status - warning
added the new
freshbooksenum value to the/response property for the response status - warning
added the new
myobenum value to the/response property for the response status - warning
added the new
myobenum value to the/response property for the response status - warning
added the new
oracleNetsuiteenum value to the/response property for the response status - warning
added the new
oracleNetsuiteenum value to the/response property for the response status - warning
added the new
quickbooksenum value to the/response property for the response status - warning
added the new
quickbooksenum value to the/response property for the response status - warning
added the new
quickbooksDesktopenum value to the/response property for the response status - warning
added the new
quickbooksDesktopenum value to the/response property for the response status - warning
added the new
sageBusinessCloudenum value to the/response property for the response status - warning
added the new
sageBusinessCloudenum value to the/response property for the response status - warning
added the new
sageIntacctenum value to the/response property for the response status - warning
added the new
sageIntacctenum value to the/response property for the response status - warning
added the new
waveenum value to the/response property for the response status - warning
added the new
waveenum value to the/response property for the response status - warning
added the new
xeroenum value to the/response property for the response status - warning
added the new
xeroenum value to the/response property for the response status - warning
added the new
zohoBooksenum value to the/response property for the response status - warning
added the new
zohoBooksenum value to the/response property for the response status - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status
- breaking