Delete Tickets Endpoint

The delete ticket endpoint will allow resellers to delete listings.


Endpoint URL

https://api.tixstock.com/v1/tickets/delete/{external_id}

Authorisation

Authorisation Description
Bearer Token A valid bearer token must be provided within the header parameters for the API request. To generate an access token, please see your API settings from within the Tixstock Reseller Admin Area.

Please see 'Authentication - Bearer Tokens' for further information


Request Data

The resellers listing ID (external_id) is required to delete the listing and should be passed in the URL. The external ID must be unique. If no listing is found in Tixstock with the same ID, an error will be outputted.

Query Parameters Description
external_id* The resellers listing ID is required.

API Response:

{
    "data": {
        "listing_id": "9211231"
    },
    "meta": {
        "mode": "Production",
        "type": "ticket.delete",
        "external_id": "9211231",
        "request_id": "01e3296wdtdz051c73m4qq1ksb"
    },
    "message": "The resource has successfully been deleted."
}