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