An order is represented as a order object with the following entries:

idint or strRequiredThe order id.
productslist of object with keys id: int or str, quantity: int, price: floatRequiredThe products in the order. Each product is an object with an ID, quantity, and unit price.
timeunix timestampRequiredThe time of the order as a Unix Timestamp.
customerint or strRequiredThe customer ID.
Needed for using our Auto-Email and Audience products.
The customer email.