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

NameTypeRequiredDescription
order_idstringYesCarriyo order ID or partner_order_reference.
tenantIdstringYes

Example agent prompt

"Take the whole order back to allocated and cancel its shipments."

unfulfill_order(
  tenantId="…",
  order_id="ORD-2025-0001"
)