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 withcarts:write
and orders:write
permissions.
Path Parameters
The unique identifier of the cart to checkout
Request Body
Payment method details
Billing address
Shipping address (uses billing if not provided)
Selected shipping method ID
Special instructions for the order
Purchase order number (for B2B)
Additional order metadata