Deactivate product
deactivate_productBlock new checkouts and hide a product from the public page by providing its product ID.
Instructions
Hide a product from the public page and block new checkouts. Requires scope merchant_write.
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_id": "<product_id>"
},
"name": "deactivate_product"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| product_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| success | Yes | ||
| product_id | Yes |