Update discount
update_discountUpdate an existing discount by sending only the fields to change, such as title, value, dates, status, or binding mode.
Instructions
Update an existing discount (plain application/json PATCH): send only the fields to change (title, discount_value, discount_dates, status, binding_mode). Call get_operation_schema("UpdateDiscount") for the exact request shape.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Discount ID (UUID). | |
| discount | Yes | Fields to update, matching the UpdateDiscountRequest schema (see get_operation_schema("UpdateDiscount")). Must not be empty. |