Here is the description of response attributes, which returns to the form of JSON.
It will return a success message if API execute successfully.
|orderId||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.
|Error Code||Error Description|
|200||Successfully ordered tickets.|
|400||The request could not be understood by the server due to malformed syntax.|
|401||You are not authorized to view the resource.|
|403||Accessing the resource you were trying to reach is forbidden.|
|404||The resource you were trying to reach is not found.|
|4030101||Not staff User|
|4060422||Payment method is required.|
|4060016||Not valid payment type.|
|4060517||There are currently no tickets available. Please, contact the event organizer.|
|4060046||You can not purchase addons ticket without purchase event ticket.|
|4040503||order ticket count is zero.|