Delete Ticket

This API is used to delete ticket by order id associated with the specified event. This API can be accessed by admin and super admin. User has to pass the order id as path variable, for which event ticket they want to delete by order id. To call this API, user will have to pass query param with API URL like orderId, eventTicketingId, isRefundEmailSend and authentication key to authenticate user.

Here is the description of response attributes, which returns to the form of JSON.

Attribute

Description

type

This will show the type of api response as Success or Fail.

message

This contains a message for response that can be used for display to the end user.

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

Ticket deleted successfully.

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.

4030201

Not Event Host.

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