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:APIAuthenticationMulti-MarketMulti-CurrencyB2CB2BSubscriptionPromotionsInventoryOrder ManagementCheckoutArazzoWorkflows
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
POST/orders
Create a draft order associated to the supplied market.
2
addLineItem
POST/line_items
Add a SKU line item to the order using the SKU code and quantity.
3
getOrder
GET/orders/orderId
Retrieve the order to read back its recalculated totals.
Source API Descriptions
Arazzo Workflow Specification
Work with this as data
Every workflow here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for arazzo workflows
4 MCP tools reach this
find_arazzoBrowse and filter every workflow in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/commerce-layer-create-order-add-line-item-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.