wb_set_price
Set the base price and discount for one Wildberries product; require confirm_write to apply live changes and return an upload ID for tracking via price history tasks.
Instructions
Set price and discount for ONE product (Discounts-Prices API). WRITE.
Requires confirm_write=true (this changes your live price). A new price 3x below the old one lands the product in WB price quarantine.
Args: nm_id: product nmID. price: new base price in rubles (integer). discount: discount percent (0-99). confirm_write: must be true to actually send the change. Returns JSON: {"ok": true, "data": {"id": uploadID}} — poll wb_prices_history_tasks.
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": {
"nm_id": "<nm_id>",
"price": "<price>"
},
"name": "wb_set_price"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nm_id | Yes | ||
| price | Yes | ||
| discount | No | ||
| confirm_write | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |