capabilities.work

Shipment Lifecycle

A 4-step recipe with Salla. We can help you get access.

Recipe · 4 steps

Shipment Lifecycle

with Salla · Logistics Operations Management

Create and track a shipment, optionally cancelling it.

  1. List the shipping companies available to the store so a courier can be chosen.
  2. Create a shipment against the order with the chosen courier.
  3. Read the created shipment back to capture its tracking number and link.
  4. Cancel the shipment when the caller flagged that it should not proceed.
What you'll need to have ready
  • orderId: The order to create the shipment for.
  • courierId: The shipping company id to ship with.
  • trackingNumber: Optional tracking number to attach to the shipment.
  • cancel: When true, the created shipment is cancelled after it is read back.
For your developer

Arazzo workflow salla:shipment-lifecycle, 4 operations: listShippingCompanies → createShipment → getShipment → cancelShipment. Specs on APIs.io.