Cancel Event Webhook

When Tixstock cancels an event from within the Tixstock system, a cancel event webhook request will be sent to the resellers who are assigned to the event.

It is required that the reseller deletes all Tixstock listings for the event to avoid tickets being sold for listings that are no longer active due to the event being cancelled.


Post Data

The event resource will be sent containing all information relating to the event with a 'Cancelled' status.


Example Request

Please note the example shown returns no venue details and performers. These will be correctly populated with the event data when the webhook is sent.

{
    "data": {
       "id": "9123123",
       "name": "Jimmy Carr Dorking",
       "currency": "GBP",
       "description": "Jimmy Carr Dorking",
       "datetime": "2020-06-27T13:46:40+0000",
       "status": "Active",
       "venue": {
           "name": "Dorking Halls",
           "address_line_1": "",
           "address_line_2": "",
           "city": "Dorking",
           "state": "SRY",
           "postcode": "RH4 1SG",
           "country_code": "GB"
       },
       "use_tixstock_venue_details": "true", 
       "venue_details": [],
       "performers": [
           {
               "id": "10040",
               "name": "Jimmy Carr"
           }
       ]
    },
    "meta": {
        "type": "event.cancel"
    }
}


Resellers JSON Response

It is required that resellers provide a valid JSON response back from the webhook request.

The reseller is required to return whether the event could be found on their system, and that they have acknowledged that the event has been cancelled.

The reseller is also required to return an array of all listings for the event, and a status of whether the listing has been successfully deleted.

Success Response

{
    "event_found": true,
    "listings": {
        "1427332": true,
        "1437333": true,
        "1447334": true
    }
}

Error Response

No Event Found

{
    "event_found": false
}

Event Found But Unable To Delete Listings

{
    "event_found": true,
    "listings": {
        "1427332": false,
        "1437333": false,
        "1447334": false
    }
}