Save Discount Codes For Ticketing

This API is used to save discount codes for ticketing associated with the specified event.
API is used as host side event admin and super admin can access this API.
To call this API, user will have to pass query param with API URL like recurringEventId, ticketing coupen details and authentication key to authenticate user.

Here is the description of response attributes, which returns to the form of JSON.
This will return a success message if API is executed successfully.

AttributeDescription
Type This field returns a Success or Error type of message.
Message This contains a message for response that can be used for display to the end user.

Here are the possible error messages, which will return if any condition gets failed or required data is missing for processing.

Error CodeError Description
200Discount Coupon Saved.
201Created.
400The request could not be understood by the server due to malformed syntax.
401You are not authorized to view the resource.
403Accessing the resource you were trying to reach is forbidden.
404The resource you were trying to reach is not found.
4030201Not Event Host.
4060414Ticketing coupon percentage should not be greater then 100.
4060444Please fill the recurring relative start and end time.
4060410Ticketing coupon already exist.
Language
Authorization
Header
Click Try It! to start a request and see the response here!