Orders are a request to send a specific collection and quantities of items to a specified shipping address to fulfil a sale of goods made or to deliver the items to another other desired destination.
The most common example is an outbound Order request to send a specific collection of items to a specific address to fulfil a sale of goods made to that end receiver.
The order object includes fields with reference numbers, shipping address details, and shipping data.
Each Order object will also include an ItemLines array of objects which hold the relevant data about each item to be moved out of inventory.
Order Properties
Order properties are detailed below
| Property Name | Description |
|---|---|
| id |
Unique order identifier in UUID format. string (system generated) |
| external_id |
Unique order id from your external system string (required) |
| type |
Order Type string (required) |
| channel |
Sales channel name string (optional) |
| status |
|
| currency |
Currency code in ISO 4217 format string (required) |
| reference |
Unique order reference - may be the same as external_id string (required) |
| line_items | Array of line_item objects. Each line_item object contains the following properties:
|
| billing_address | An object containing billing address details. object (required) |
| shipping_address | An object containing shipping address details. object (required) |
| shipping_rule | An object containing shipping rule details. This rule drives service and delivery settings. object (required) |
| tax_rule | An object containing tax rule details. This rule describes the tax rates applicable to prices on the order and whether or not the tax is included in the prices shown. object (required) |
| account_id |
Unique account identifier in UUID format. string (system generated / read only) |
| created |
Created timestamp in UNIX Milliseconds format integer (system generated / read only) |
| updated |
Updated timestamp in UNIX Milliseconds format integer (system generated / read only) |
