Sold Ticket Webhook

When a listing has been sold by a reseller, any other resellers that also have the listing published will receive an sold ticket webhook request to notify the reseller of the sale.

It is required that the reseller update their listing to match the updated first seat and available quantity for the listing


Post Data

Parameter Description
listing_id* The resellers ID for the listing.
Type: String
sold_quantity* The quantity of tickets that have been sold.
Type: Integer
quantity* This is the quantity of the remaining available tickets.
It is required that resellers update their listing to match the quantity
Type: Integer
first_seat* The updated first seat number for the listing.
It is required that resellers update their listing to match the first seat.
Type: Integer
order_details In case of listings pushed with "push_to_all" flag, and order received from other reseller then reseller who originally pushed the listing with "push_to_all" flag will get full order information in this parameter.
For details of this object's parameters, refer to Add Order
Type: Object

Example Request

{
  "data": {
    "listing_id": "9211231",
    "sold_quantity": 1,
    "quantity": 8,
    "first_seat": 2,
    "order_details": {
      "id": "234234324",
      "date": "2020-04-05T21:30:00+0000",
      "customer": {
        "id": "123",
        "first_name": "Walter",
        "last_name": "Smith",
        "email_address": "walter.smith@example.com",
        "dob": "1993-06-24",
        "national_id": "NI23221245",
        "contact_number": "+441234567890",
        "billing_address": {
          "address_line_1": "1st Floor 49 Peter Street",
          "address_line_2": "",
          "town": "Manchester",
          "county": "Greater Manchester",
          "postcode": "M2 3NG",
          "country_code": "GB"
        },
        "shipping_address": {
          "address_line_1": "1st Floor 49 Peter Street",
          "address_line_2": "",
          "town": "Manchester",
          "county": "Greater Manchester",
          "postcode": "M2 3NG",
          "country_code": "GB"
        }
      },
      "items": [
        {
          "listing_id": "9211231",
          "general_admission": "true",
          "type": "Paper",
          "section": "",
          "row": "",
          "file": [],
          "customer": {
            "first_name": "Walter",
            "last_name": "Smith",
            "email_address": "",
            "dob": "1993-06-24",
            "national_id": "NI23221245",
            "contact_number": "+441234567890",
            "address": "49 Peter Street, Manchester",
            "nationality": "British",
            "birth_place": "Manchester",
            "birth_country": "United Kingdom"
          }
        }
      ],
      "quantity": 1,
      "currency": "GBP",
      "sub_total": "90.00",
      "grand_total": "90.00",
      "status": "Pending Review",
      "shipping_tracking_id": null,
      "shipping_label": ""
    }
  },
  "meta": {
    "type": "ticket.sold"
  }
}

Resellers JSON Response

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

Success Response

{
  "listing_id": "9211231",
  "success": true,
  "message": "Ticket sale acknowledged."
}