Skip to main content
POST
This endpoint initiates the checkout process, converting a cart into an order. It validates inventory, calculates final totals, and processes payment.

Authentication

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

Path Parameters

string
required
The unique identifier of the cart to checkout

Request Body

object
required
Payment method details
object
required
Billing address
object
Shipping address (uses billing if not provided)
string
required
Selected shipping method ID
string
Special instructions for the order
string
Purchase order number (for B2B)
object
Additional order metadata

Response

Returns the created order object.