Ticket
Receiving notifications for ticket creations or updates.
It is possible to be notified every time a ticket is created or modified at Ingresse. You just need to request Ingresse to add your webhook address into the system.
Ticket Webhook
name | description |
---|---|
ticket | when a ticket is created or updated in the Backstage |
Once it is registered, every time one of those actions is performed, Ingresse will send a POST
request with the following body message:
Webhook body message
key | description |
---|---|
webhook | the type of the hook related to the data |
data | the content of the webhook |
timestamp | the timestamp when the message was posted to destination |
Examples
{
"webhook": "ticket",
"data": {
"id": 408218,
"name": "Ingresso - Pista",
"description": "",
"eventId": 24724,
"type": "Ticket",
"eventDates": [
{
"id": 38363,
"datetime": "2019-10-10T10:00:00-03:00",
"timezone": "America/Sao_Paulo"
}
],
"attributes": {
"maximum": 0,
"minimum": 0,
"canArchive": true,
"external": false
},
"quantity": 100,
"parent": 346868,
"children": [],
"salePeriods": [
{
"id": 70127,
"appCategoryId": 1,
"start": "2020-10-10T10:10:00-03:00",
"finish": "2020-10-20T10:20:00-03:00",
"available": true
}
],
"hidden": false,
"available": true,
"order": 1,
"value": {
"price": 10,
"finalPrice": 11,
"feeSale": 1,
"feeProducer": 0,
"taxDistribution": 100
},
"triggers": {
"soldout": [],
"start": []
},
"archived": false,
"customTax": false,
"salable": true,
"quantityDiff": 0
},
"timestamp": "2018-04-02T13:57:04.770619"
}
{
"webhook": "ticket",
"data": {
"id": 346868,
"name": "Grupo de Ingressos",
"description": null,
"eventId": 24724,
"type": "Group",
"eventDates": [
{
"id": 38363,
"datetime": "2019-10-10T10:00:00-03:00",
"timezone": "America/Sao_Paulo"
}
],
"attributes": {
"maximum": 0,
"minimum": 0,
"canArchive": true,
"external": false
},
"quantity": 1000,
"parent": null,
"children": [
{
"id": 408218,
"name": "Test webhook",
"description": "",
"eventId": 24724,
"type": "Ticket",
"eventDates": [
{
"id": 38363,
"datetime": "2019-10-10T10:00:00-03:00",
"timezone": "America/Sao_Paulo"
}
],
"attributes": [],
"quantity": 100,
"parent": 346868,
"children": [],
"salePeriods": [
{
"id": 70127,
"appCategoryId": 1,
"start": "2020-10-10T10:10:00-03:00",
"finish": "2020-10-20T10:20:00-03:00",
"available": true
}
],
"hidden": false,
"available": true,
"order": 1,
"value": {
"price": 10,
"finalPrice": 11,
"feeSale": 1,
"feeProducer": 0,
"taxDistribution": 100
},
"triggers": {
"soldout": [],
"start": []
},
"archived": false,
"customTax": false,
"salable": true
},
{
"id": 346869,
"name": "Camarote",
"description": "",
"eventId": 24724,
"type": "Ticket",
"eventDates": [
{
"id": 38363,
"datetime": "2019-10-10T10:00:00-03:00",
"timezone": "America/Sao_Paulo"
}
],
"attributes": [],
"quantity": 100,
"parent": 346868,
"children": [],
"salePeriods": [
{
"id": 27588,
"appCategoryId": 1,
"start": "2018-05-04T00:00:00-03:00",
"finish": "2019-10-10T00:00:00-03:00",
"available": true
}
],
"hidden": false,
"available": true,
"order": 3,
"value": {
"price": 1,
"finalPrice": 1.1,
"feeSale": 0.1,
"feeProducer": 0,
"taxDistribution": 100
},
"triggers": {
"soldout": [],
"start": []
},
"archived": false,
"customTax": false,
"salable": true
}
],
"salePeriods": [],
"hidden": false,
"available": true,
"order": 1,
"value": {
"price": 0,
"feeSale": 0,
"feeProducer": 0
},
"triggers": {
"soldout": [],
"start": []
},
"archived": false,
"customTax": false,
"salable": true,
"passkeys": [],
"quantityDiff": -9000
},
"timestamp": "2018-04-02T13:57:04.770619"
}
Updated over 5 years ago