order.shipment.cancel

Cancel a shipment before carrier handoff completes — resets the order to unfulfilled when nothing else is active.

Payload

fieldtyperequirednotes
shipmentIdstring (/^shp_[a-zA-Z0-9]{1,32}$/)yes

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}$"
    }
  },
  "required": [
    "shipmentId"
  ],
  "additionalProperties": false
}
Generated from the live platform registries at build time — reference pages cannot go stale. Markdown variant: /reference/commands/order.shipment.cancel.md