Swell · Arazzo Workflow
Swell Build Cart and Convert to Order
Version 1.0.0
Create a cart, populate its items, then convert it into an order.
View Spec
View on GitHub
CommerceHeadless CommerceAPI-FirstB2CB2BSubscriptionsMarketplacesWholesaleStorefrontCheckoutPaymentsCartsOrdersCatalogInternationalizationArazzoWorkflows
Provider
Workflows
build-cart-and-convert-to-order
Create a cart, set its items, then create an order from it.
Posts a cart, updates it with line items, then posts an order using the same account and items.
1
createCartStep
createCart
Create an empty cart tied to the supplied account.
2
addItemsStep
updateCart
Update the cart with the supplied line items.
3
convertToOrderStep
createOrder
Create an order carrying the same account and items, converting the pending cart into a real order.