Create discount
create_discountCreate a new discount in the Yandex KIT catalog by specifying title, discount value, dates, status, and binding mode to apply it to all or selected product variants.
Instructions
Create a new discount. Required: title, discount_value ({value, type: PERCENT|VALUE}), discount_dates ({start_date, optional end_date}), status (ACTIVE|INACTIVE) and binding_mode (ALL_VARIANTS|SELECTED_VARIANTS). Call get_operation_schema("CreateDiscount") for the exact request shape.
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": {
"discount": "<discount>"
},
"name": "create_discount"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| discount | Yes | Discount record matching the CreateDiscountRequest schema (see get_operation_schema("CreateDiscount")). Required: title, discount_value, discount_dates, status, binding_mode. |