update_product_status
Change a product's status to published, archived, or disabled. Provide the product ID and desired status to control product visibility.
Instructions
Update a product status. PUT /products/{productId}/status. Required: status. Valid values: published, archived, disabled.
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": {
"productId": "<productId>",
"status": "<status>"
},
"name": "update_product_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| productId | Yes | Product ID (required) | |
| status | Yes | Status (required): published, archived, or disabled |