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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nm_id | Yes | ||
| price | Yes | ||
| discount | No | ||
| confirm_write | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |