Delete supplier
hub_delete_supplierRemove a supplier the merchant no longer buys from. CONFIRM WITH THE MERCHANT FIRST, naming the supplier — there is no undo from here. Its item links go with it, so any auto-reorder rule pointing at this supplier stops producing suggestions. REFUSED while the supplier still has an open purchase order (anything not fully received): receive or cancel those first — get_purchase_orders filtered by this supplier shows them. Purchase orders already placed are kept and still name the supplier.
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": {
"supplierId": "<supplierId>"
},
"name": "hub_delete_supplier"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| supplierId | Yes | Supplier id from get_suppliers — not a name |