Skip to main content

Checkout & Orders

📄️Submit Checkout

Submit the active cart. The cart is re-priced and re-validated; the account's minimum order value is enforced (422 below it). If the account's approval policy requires it, an approval request is created (status `pending_approval`, no order yet); otherwise a draft order is created and the cart is emptied. `ship_to_address_id` (or an inline `ship_to`), `customer_po_number`, `requested_delivery_date`, `shipping_method_id`, `note`, and `payment_method` are accepted. Lines that cannot be supplied are rejected with 422 `unpurchasable_lines`, listing each offending line and a `reason` of `insufficient_stock` (fewer units in stock than requested, and no backorder), `out_of_stock`, or `unpriced`.