Create Discount

Creates a new discount for the authenticated account.

The request body must include required fields such as the discount name, type (currently only "discount" is allowed), applicable items (treatments or products), and filter configuration. Additional optional fields like group, category, condition, expiration, and enabled status can also be provided. The endpoint performs extra validations, such as ensuring no duplicate days in the filter and that the end hour is not earlier than the start hour if time intervals are specified. Upon successful creation, the endpoint returns the newly created discount object.

Language
Credentials
Header
Click Try It! to start a request and see the response here!