capabilities.work

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.

  1. Open a guest order in the market with the customer email.
  2. Add a SKU line item to the guest order.
  3. 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.