Skip to main content

shop.checkout.createOrder(params)

Places an order. Call this when the customer confirms checkout.

Parameters

CartItem type

Response

Example — Full checkout flow

Always snapshot the product name and price at checkout time into the items array. Do not rely on re-fetching prices at order creation — prices may change.