API Comparison

Use the Commerce Webstore Checkout Place Order Action API for new implementations. It provides improved error handling, supports webhooks, processes payments asynchronously, and enables greater flexibility for modular customization.

FeatureCommerce Webstore Checkout Orders API (v1)Commerce Webstore Checkout Place Order Action API (v2)
ModelSingle-stepTwo-step (Prepare + Submit)
Endpoint/orders/orders/actions
EnablementAvailable by default when the Place Order Action API is enabledRequires Place Order Action API to be enabled. See Streamlined Place Order.
Success Response201 Created200 OK
OrchestrationAfter paymentsPrepare before payments, Submit after payments
Cart StatesCHECKOUT, PENDING_CLOSEDCHECKOUT, PENDING_CLOSED
ExecutionAll operations in single callSplit between Prepare and Submit
Cart-to-OrderAsync after API callAsync after Submit
Validation TimingDuring order placementSplit between Prepare and Submit
Default ValidationsShipping and paymentsShipping (Prepare), payments (Submit)
ExtensionsNot supportedSupported for pricing, promotions, tax, shipping. See CheckoutPlaceOrder.
InventoryCreates final reservationPrepare creates temporary, final during order placement
Payment ValidationOnly when V2 enabledAlways during Submit
Webhook SupportNot supportedSupported
Orphaned Payment RiskHigher – payments before all validationsLower – validations before payment
OperationsPerforms validations, inventory handling, coupon processing, and order placement in a single API call. Cart-to-order processing is executed asynchronously.Performs validations, inventory handling, and coupon processing during the Prepare action, and order placement during the Submit action. Cart-to-order processing is executed asynchronously after the Submit action.