Create a new order
Create a new order in the system. Optionally include a return order to be created simultaneously (useful for pre-paid return labels included with outbound orders). Requires full write access to orders.
Request Body
application/jsonRequirednameRequiredstringOrder name prefix - the system will generate a unique order name using this prefix
aliasstringAlternative identifier for the order
priceRequirednumberTotal price of the order
"float"compareAtPricenumberOriginal price before discounts
"float"currencyRequiredstringCurrency code for the order
"usd"financialStatusRequiredstringPayment status of the order
"pending"Value in: "authorized" | "expired" | "paid" | "partially-paid" | "partially-refunded" | "pending" | "refunded" | "voided"fulfillmentStatusRequiredstringFulfillment status of the order
"open"Value in: "scheduled" | "open" | "confirmed" | "on-hold" | "partially-fulfilled" | "fulfilled"orderDateRequiredstringDate the order was placed
"date-time"targetDeliveryDatestringTarget date for delivery
"date-time"shipToAddressobjectShipping address details
customerIdstringID of the customer placing the order
"uuid"lineItemsarray<object>Products to include in the order
tagsarray<string>Tags to associate with the order
notesarray<string>Notes to attach to the order
returnOrderobjectReturn order information to be created with this order (useful for pre-paid return labels included with outbound orders)
Order created successfully