Hold Ticket Webhook
When a listing has been put of hold by a reseller, any other resellers that also have the listing published will receive an hold ticket webhook request to notify the reseller to reduce the ticket quantity to prevent double selling the tickets.
It is required that resellers update their listing to reduce the quantity of the listing by the hold quantity provided in the webhook request.
Post Data
Parameter | Description |
---|---|
external_id* | The resellers ID for the listing. Type: String |
hold_quantity* | The quantity to be held. Type: Integer |
Example Request
{
"data": {
"external_id": "92312212",
"hold_quantity": 2
},
"meta": {
"type": "ticket.hold"
}
}
Resellers JSON Response
It is required that resellers provide a valid JSON response back from the webhook request.
Success Response
{
"listing_id": "92312212",
"success": true,
"message": "Ticket quantity successfully decreased."
}
Error Response
{
"listing_id": "92312212",
"success": false,
"message": "Failed to decrease listing quantity.",
"errors": [
"Error message here"
]
}