Remove order item
remove_order_itemRemove a line item from a DRAFT order, provided at least one item remains. Use the order_item_id from get_order_details; Printful and Gelato edit in place while Printify cancels and re-creates.
Instructions
Remove a line item from a DRAFT order (the order must keep at least one item). Same provider semantics as add_order_item: Printful/Gelato edit in place, Printify cancels + re-creates. Only works while the order is a draft. Get the order_item_id from get_order_details (each item carries an id).
[#b20b6e]
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"order_uuid": "<order_uuid>",
"order_item_id": "<order_item_id>"
},
"name": "remove_order_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace | No | Workspace uuid (agency accounts). | |
| order_uuid | Yes | The DRAFT order uuid. | |
| order_item_id | Yes | The order item id to remove (from get_order_details items[].id). |