Delete Ticket Webhook
When a broker deletes and listing from within Tixstock, a delete ticket webhook request will be sent to notify them that the listing should be deleted.
Post Data
Parameter | Description |
---|---|
listing_id* | The listing ID for the listing to be deleted. Type: String |
Example Request
{
"data": {
"listing_id": "92312212"
},
"meta": {
"type": "ticket.delete"
}
}
Resellers JSON Response
It is required that resellers provide a valid JSON response back from the webhook request, providing whether the listing has been deleted successfully.
Success Response
{
"listing_id": "92312212",
"success": true,
"message": "Ticket successfully deleted."
}
Error Response
{
"listing_id": "92312212",
"success": false,
"message": "Ticket failed to be deleted.",
"errors": [
"Error message here"
]
}