ym_set_price
Set or update the base price and optional strikethrough discount for one Yandex Market offer across all cabinet shops, with required write confirmation.
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 |