Commerce Layer · Arazzo Workflow
Commerce Layer Add Two Line Items to an Order
Version 1.0.0
Create an order, then add two SKU line items to it and read the recalculated totals.
View Spec
View on GitHub
Headless CommerceComposable CommerceAPI-FirstE-CommerceJSON:APIOAuthMulti-MarketMulti-CurrencyConsumerB2BSubscriptionPromotionsInventoryOrder ManagementCheckoutAuthenticationArazzoWorkflows
Provider
Workflows
order-add-two-line-items
Create an order and add two SKU line items to it.
Creates a draft order, adds two SKU line items, then retrieves the order to read the recalculated SKU count and totals.
1
2
addFirstLineItem
Add the first SKU line item to the order.
3
addSecondLineItem
Add the second SKU line item to the order.
4
getOrder
Retrieve the order to read the recalculated SKU count and 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.