Creates an order.
Use this method to create manual orders for phone or email sales or to add orders from external systems (such as POS, marketplaces, or legacy platforms). For standard online purchases, orders are created automatically through the checkout flow.
To record payment information for the order, pass the order ID to Add Payments.
For apps that aren't yet published in the Wix App Market, Create Order is limited to 5 calls per hour per site.
Notes:
settings.orderApprovalStrategy field in the body params. To configure this behavior for all orders, use the Orders Settings API.lineItems[i].itemType.preset: DIGITAL - then lineItems[i].digitalFile must be provided.lineItems[i].id is passed, it must be either a valid GUID, or empty.taxDetails or taxInfo.currency, weightUnit, or buyerLanguage aren't passed, they default to the site's settings.status and paymentStatus may be adjusted during creation. For example, an order with a total of 0 is automatically created with status: "APPROVED" and paymentStatus: "PAID".There is 1 error with this status code.
This method may also return standard errors. Learn more about standard Wix errors.