An order is represented as a order object with the following entries:
Attribute | Type | Required | Description |
---|---|---|---|
id | int or str | Required | The order id. |
products | list of object with keys id : int or str , quantity : int , price : float | Required | The products in the order. Each product is an object with an ID, quantity, and unit price. |
time | unix timestamp | Required | The time of the order as a Unix Timestamp. |
customer | int or str | Required | The customer ID. |
email | str | Optional Needed for using our Auto-Email and Audience products. | The customer email. |