ym_set_price
Set the base price for one offer across all shops in your Yandex Market cabinet. Use discount_base for a strikethrough price or 0 to hide it; requires confirm_write=true.
Instructions
Set the base price of ONE offer for all shops of the cabinet (POST /v2/businesses/{businessId}/offer-prices/updates). WRITE.
Requires confirm_write=true. discount_base is the strikethrough price (must be higher than price); 0 = no discount shown.
Args: business_id: cabinet id. offer_id: seller's SKU (offerId). price: new price, e.g. 1499. discount_base: pre-discount price, or 0 to clear. currency: RUR (default) — Yandex uses "RUR", not "RUB". confirm_write: must be true to send. Returns JSON: {"ok": true, "data": {"status": "OK"}} on success.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| price | Yes | ||
| currency | No | RUR | |
| offer_id | Yes | ||
| business_id | Yes | ||
| confirm_write | No | ||
| discount_base | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |