Update Discount Code
Updates an existing discount code by its ID. All body fields are optional; only the fields included in the request body will be updated. event_id cannot be changed — discounts are bound to their original event. To create an alternate code under an existing discount, pass parent_id to the create endpoint. The clone endpoint always creates a new primary code.
Authorizations
Path Parameters
Body
All fields are optional on update. event_id cannot be changed — discounts are bound to their
original event. To create an alternate code under an existing discount, pass parent_id to the create endpoint. The clone endpoint always creates a new primary code.
Response
Updated
The discount payload returned by every read endpoint. Reflects Discount::fields() exactly —
every property is always present in the response (values may be null).