Commerce Webstore Checkout Orders API
Use for simple, synchronous checkout scenarios with minimal customization. The Commerce Webstore Checkout Orders API is also referred to as Place Order V1.
Endpoint: POST /commerce/webstores/{webstoreId}/checkouts/{activeOrCheckoutId}/orders
How it works:
- Invoke single-step Place Order API (no request body required).
- The API performs all validations and places the order in a single call.
- On success, returns 201 Created with Order Reference Number (ORN).
- On failure, returns 422 Unprocessable Entity.
Call after:
- Payment APIs have completed.
Supported cart states:
- Checkout
- PendingClosed (returns existing ORN)
Execution flow:
- Validations, inventory, coupon processing, and order placement execute in a single call.
- Cart-to-order processing runs asynchronously after API call.