cancel_fulfillment_order_items
Updated June 22, 20261 min read
Cancel selected fulfillment-order item quantities via POST /orders/{reference}/fulfillment-orders/{fulfillment_order_id}/cancel.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
cancellation_reason | string | Yes | Values: customer_cancellation, auto_allocation_failed, inventory_out_of_stock, staff_error, payment_issue, other. |
fulfillment_order_id | string | Yes | Target fulfillment order ID. |
line_items | array | Yes | — |
order_id | string | Yes | Carriyo order ID or partner_order_reference. |
tenantId | string | Yes | — |
key | string | No | Values: order_id, partner_order_reference. |
Example agent prompt
"Cancel the fulfillment order items."
cancel_fulfillment_order_items( tenantId="…", order_id="ORD-2025-0001", fulfillment_order_id="FO-2025-0001", cancellation_reason=…, line_items=… )