Events
Action |
Event name |
creating a traveller |
traveller.created |
updating a traveller |
traveller.updated |
delete an existing traveller |
traveller.deleted |
Payload example created and updated
{
"id": "string",
"attemptId": "string",
"livemode": "boolean",
"created": "int",
"event": "string",
"data": {
"_id": "5f243d100617680712e78dd5",
"firstName": "Raymond",
"lastName": "Talbert",
"email": "raymond@talbert.com",
"fareId": "595f9f62df9127b11d5e03bd",
"phone": "",
"cards": [],
"accountId": "5f243d100617680712e78dd6",
"customerId": "5bfedd62768b77e83a9eefe6",
"createdBy": "5f243d100617680712e78dd7",
"updatedBy": "5f243d100617680712e78dd7",
"createdAt": {
"value": "2020-11-10T15:02:10Z",
"offset": 0
},
"updatedAt": {
"value": "2020-11-10T15:02:10Z",
"offset": 0
}
}
Payload example deleted
{
"id": "string",
"attemptId": "string",
"livemode": "boolean",
"created": "int",
"event": "string",
"data": {
"travellerId": "5f243d100617680712e78dd5"
}
}