Update promocode
update_promocodeUpdate an existing promocode by patching only the specified fields (code, title, discount, dates, status, limits) using its ID.
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. |