archive_product
Unsync a product from all connected sales channels and its fulfillment provider, then hide it; fails if pending orders reference its variants, so cancel or fulfill those first.
Instructions
Archive a product: unsync it from every connected sales channel and its fulfillment provider, then hide it. Fails (returns blocking_orders) if any pending order still references its variants — cancel or fulfill those first. Restore it later with restore_product. Use archive rather than delete_product when a product has order history.
[#4b1462]
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": {
"product_uuid": "<product_uuid>"
},
"name": "archive_product"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace | No | Workspace uuid to scope to (agency accounts). Omit for the Default workspace. | |
| product_uuid | Yes | The product uuid to archive. |