Commerce Layer · Arazzo Workflow
Commerce Layer Create and Ship a Shipment
Version 1.0.0
Create a shipment for an order, mark it ready to ship, then ship it.
View Spec
View on GitHub
Headless CommerceComposable CommerceAPI-FirstEcommerceJSON:APIOAuth 2.0Multi-MarketMulti-CurrencyB2CB2BSubscriptionsPromotionsInventoryOrder ManagementCheckoutArazzoWorkflows
Provider
Workflows
create-and-ship-shipment
Create a shipment, ready it, and ship it.
Creates a shipment for an order, patches it with the documented _ready_to_ship flag, then patches it with the documented _ship flag.
1
createShipment
POST/shipments
Create the shipment for the order from the stock location.
2
markReadyToShip
PATCH/shipments/shipmentId
Toggle the documented _ready_to_ship transition flag on the shipment.
3
shipShipment
PATCH/shipments/shipmentId
Toggle the documented _ship transition flag to dispatch the shipment.