Commerce Layer · Arazzo Workflow
Commerce Layer Create Order and Add Line Item
Version 1.0.0
Create a draft order in a market, add a SKU line item to it, then read the order back.
View Spec
View on GitHub
Headless CommerceComposable CommerceAPI-FirstE-CommerceJSON:APIOAuthMulti-MarketMulti-CurrencyConsumerB2BSubscriptionPromotionsInventoryOrder ManagementCheckoutAuthenticationArazzoWorkflows
Provider
Workflows
create-order-add-line-item
Create an order, add a SKU line item, and read the order back.
Creates a draft order in the supplied market, adds a single SKU line item referencing the order, and retrieves the order to expose its totals.
1
createOrder
Create a draft order associated to the supplied market.
2
addLineItem
Add a SKU line item to the order using the SKU code and quantity.
3
getOrder
Retrieve the order to read back its recalculated totals.
Source API Descriptions
openapi
Arazzo Workflow Specification
Work with this as data
Every workflow here is available over the APIs.io API and to AI agents over MCP.