Commerce Layer · Arazzo Workflow
Commerce Layer Create Return with Line Item
Version 1.0.0
Open a return against an order, add a return line item for an order line item, then request it.
View Spec
View on GitHub
Headless CommerceComposable CommerceAPI-FirstE-CommerceJSON:APIAuthenticationMulti-MarketMulti-CurrencyB2CB2BSubscriptionPromotionsInventoryOrder ManagementCheckoutArazzoWorkflows
Provider
Workflows
create-return-with-line-item
Create a return, add a return line item, and request the return.
Creates a return for an order, adds a return line item referencing an order line item, then patches the return with the documented _request flag.
1
2
addReturnLineItem
Add a return line item referencing the return and the order line item.
3
requestReturn
Toggle the documented _request transition flag to submit the return.
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.