set_price
Update a product's price (and optional compare_price) in the authenticated store. Requires Bearer token. 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>",
"price": "<price>"
},
"name": "set_price"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| price | Yes | New price in DZD. | |
| product_id | Yes | Product id. | |
| compare_price | No | Optional old/compare price. |