Commerce Layer · Arazzo Workflow
Commerce Layer Guest Order Add Line Item and Place
Version 1.0.0
Open a guest order, add a SKU line item, then place the order in one flow.
View Spec
View on GitHub
Headless CommerceComposable CommerceAPI-FirstEcommerceJSON:APIOAuth 2.0Multi-MarketMulti-CurrencyB2CB2BSubscriptionsPromotionsInventoryOrder ManagementCheckoutArazzoWorkflows
Provider
Workflows
guest-order-add-line-item-place
Open a guest order, add a line item, and place it.
Creates a guest order with a customer email, adds a SKU line item, then patches the order with the documented _place flag to submit it.
1
createGuestOrder
POST/orders
Open a guest order in the market with the customer email.
2
addLineItem
POST/line_items
Add a SKU line item to the guest order.
3
placeOrder
PATCH/orders/orderId
Toggle the documented _place transition flag to submit the order.