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-FirstEcommerceJSON:APIOAuth 2.0Multi-MarketMulti-CurrencyB2CB2BSubscriptionsPromotionsInventoryOrder 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
createReturn
POST/returns
Create the return associated to the order.
2
addReturnLineItem
POST/return_line_items
Add a return line item referencing the return and the order line item.
3
requestReturn
PATCH/returns/returnId
Toggle the documented _request transition flag to submit the return.