Guest Order Add Line Item and Place
A 3-step recipe with Commerce Layer. We can help you get access.
Recipe · 3 steps
Guest Order Add Line Item and Place
with Commerce Layer · Order Fulfilment Management
Open a guest order, add a line item, and place it.
- Open a guest order in the market with the customer email.
- Add a SKU line item to the guest order.
- Toggle the documented _place transition flag to submit the order.
What you'll need to have ready
- accessToken: Bearer access token for the Commerce Layer organization.
- marketId: The id of the market the order belongs to.
- customerEmail: The guest customer email for the order.
- skuCode: The SKU code to add as a line item.
- quantity: The quantity of the SKU to add.
For your developer
Arazzo workflow commerce-layer:guest-order-add-line-item-place, 3 operations: POST/orders → POST/line_items → PATCH/orders/orderId. Specs on APIs.io.