unfulfill_order
Updated September 9, 20261 min read
Undo every fulfillment on an order via POST /orders/{reference}/unfulfill. Associated shipments are cancelled and the items return to allocated status. Use unfulfill_fulfillment_order instead when only selected fulfillments should be reversed.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
order_id | string | Yes | Carriyo order ID or partner_order_reference. |
tenantId | string | Yes | — |
Example agent prompt
"Take the whole order back to allocated and cancel its shipments."
unfulfill_order(
tenantId="…",
order_id="ORD-2025-0001"
)