Create order

Create a new e-commerce order.

Overview

Create a new order for e-commerce products. The order will include the specified SKUs and process payment from the customer.

Example: Create an order when a customer completes checkout with multiple items in their cart.


Conditional Requirements

ConditionRequired Fields
Alwaysuser_id, items, items.*.sku_id, items.*.quantity
Any SKU has shippable product OR account has taxes enabled for e-commerceaddress_id OR address.* fields
address_id not provided AND address is requiredaddress.first_name, address.last_name, address.line1, address.city, address.country, address.postal_code, address.state (unless country=GB)

Related Endpoints

  • Orders - Overview of the orders API
  • SKUs - Product variants to include in orders
Language
Credentials
Click Try It! to start a request and see the response here!