Skip to main content
Create a new order in the e-commerce platform. Orders represent contact purchases and include line items, shipping information, and payment details.

Request Body

FieldTypeRequiredDescription
company_idintegerYesThe rootfi_company_id to associate this order with
dataarrayYesArray of order objects to create
data[].customer_idstringYesReference to the Contact who placed the order
data[].currency_idstringYesISO 4217 currency code (e.g., USD, EUR)
data[].order_numberstringNoHuman-readable order number (auto-generated if not provided)
data[].order_datestringNoDate when order was placed (ISO 8601). Defaults to current date
data[].statusstringNoOrder status (pending, processing, shipped, delivered, cancelled). Defaults to pending
data[].line_itemsarrayYesArray of line item objects
data[].shipping_addressobjectNoShipping address object
data[].billing_addressobjectNoBilling address object
See Order Overview for complete field details.