Here is the description of response attributes, which returns to the form of JSON.
It will return a success message if API execute successfully.
order id which can be use to get form data and do checkout
Here is the possible error messages, which return if any condition gets failed or required data is missing for processing.
Successfully ordered tickets.
The request could not be understood by the server due to malformed syntax.
You are not authorized to view the resource.
Accessing the resource you were trying to reach is forbidden.
The resource you were trying to reach is not found.
Not staff User
Payment method is required.
Not valid payment type.
There are currently no tickets available. Please, contact the event organizer.
You can not purchase addons ticket without purchase event ticket.
order ticket count is zero.