Skip to main content
POST
This endpoint creates a new order and automatically triggers order processing workflows, including inventory allocation, payment processing, and fulfillment initiation.

Authentication

This endpoint requires a valid API key with orders:write permissions.

Request Body

object
required
Customer information for the order
array
required
Array of items in the order
object
required
Shipping address for the order
object
Billing address if different from shipping. If not provided, shipping address will be used.
object
required
Payment information
object
Shipping preferences
object
Additional custom metadata to store with the order
string
Unique key to ensure idempotent order creation

Response

string
Unique identifier for the created order
string
Always “order” for this object type
string
Human-readable order number (e.g., “ORD-2024-001234”)
string
Order status: pending, processing, shipped, delivered, cancelled
object
Customer information associated with the order
array
Array of order items with calculated totals
object
Order totals breakdown
string
ISO 8601 timestamp of order creation
string
ISO 8601 timestamp of last update