order.shipment.track

Record a carrier state transition (webhook/poll/manual) and aggregate the order's fulfillment status.

Payload

fieldtyperequirednotes
shipmentIdstring (/^shp_[a-zA-Z0-9]{1,32}$/)yes
status"label_ready" | "picked_up" | "in_transit" | "out_for_delivery" | "delivered" | "undelivered" | "returned"yes
providerStatusCodestring (≤60 chars)no
occurredAtstringno

JSON Schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "shipmentId": {
      "type": "string",
      "pattern": "^shp_[a-zA-Z0-9]{1,32}$"
    },
    "status": {
      "type": "string",
      "enum": [
        "label_ready",
        "picked_up",
        "in_transit",
        "out_for_delivery",
        "delivered",
        "undelivered",
        "returned"
      ]
    },
    "providerStatusCode": {
      "type": "string",
      "minLength": 1,
      "maxLength": 60
    },
    "occurredAt": {
      "type": "string"
    }
  },
  "required": [
    "shipmentId",
    "status"
  ],
  "additionalProperties": false
}
Generated from the live platform registries at build time — reference pages cannot go stale. Markdown variant: /reference/commands/order.shipment.track.md