Order → Create
AI-generatedSummary
Create a new order in Wix eCommerce by providing detailed order information including line items, buyer info, pricing, shipping, and additional optional fields.
Inputs
- Line Items (required) — Specify one or more line items for the order, including catalog references (catalog item ID, app ID, options), item type (physical, digital, custom, etc.), price, product name, quantity, and detailed tax information (tax amount, rate, taxable amount, tax group ID, and if tax is included in price).
- Status (required) — Set the order status (e.g., Approved, Canceled, Initialized, Pending, Rejected).
- Buyer Info (required) — Provide buyer's information including email (required) and optionally contact ID.
- Channel Info (required) — Provide channel-related information for the order such as channel type (e.g., Amazon, Etsy, Web), external order ID, and external order URL.
- Price Summary (required) — Specify the order pricing summary including subtotal, shipping cost, tax amount, discount, total price, and total additional fees.
- Additional Fields — Optionally provide billing info (address and contact details), shipping info (carrier ID, logistics details including shipping destination address and contact, delivery time and instructions, delivery time slot, shipping region, shipping code, cost, title), currency code, a JSON object for custom fields not covered in the form, and other optional order metadata.
Output shape
a single record representing the created order
The created order includes all submitted data. The node sends a POST request to '/ecom/v1/orders' to create the order. The response format depends on Wix API but typically contains the created order details.
Examples
Example 1: Create an order with two line items, buyer email, and complete order details
Fill in all required fields including multiple line items; each line item must include catalog item ID, app ID, item type, price, product name, quantity, and tax info. Provide buyer email, set order status, fill price summary, and channel info for accurate order creation.