Add order item
add_order_itemAdd a product variant to a draft order before confirmation, with optional per-unit price and shipping cost; only draft orders are editable, while confirmed orders return an error.
Instructions
Add an item (e.g. another variant of the same product) to a DRAFT order, before it is confirmed to production. Optionally set custom_price (the new item's per-unit retail price) and/or shipping_cost (the order-level retail shipping the customer pays — NOT the provider's cost); omit them and the variant price / existing shipping are kept. Only works while the order is in "draft" status. Printful and Gelato edit the existing provider draft IN PLACE; Printify has no edit API, so it CANCELS + RE-CREATES the order — the result then carries edit_method="recreated" and a new fulfillment_external_id. Nothing is charged on a draft, so re-creation is safe. Returns 409 "order_not_editable" if the order was already confirmed/submitted to production.
[#f416d1]
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>",
"variant_uuid": "<variant_uuid>"
},
"name": "add_order_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quantity | No | Quantity to add (default 1). | |
| workspace | No | Workspace uuid (agency accounts). Omit for Default. | |
| order_uuid | Yes | The DRAFT order uuid (from list_my_orders / get_order_details). | |
| custom_price | No | Per-unit retail price for the new item. Omit to use the variant's own price. | |
| variant_uuid | Yes | The product variant to add (e.g. another color/size of the same product). | |
| shipping_cost | No | Order-level retail shipping price (what the customer pays, not the provider cost). Omit to keep the order's current shipping. |