Events
Action |
Event name |
create a new bundle |
bundle.created |
update an existing bundle |
bundle.updated |
Payload example
{
"_id": "string",
"accountId": "string",
"bundleType": "string",
"createdAt": {
"offset": "int",
"value": "string"
},
"deleted": "boolean",
"disabled": "boolean",
"expirationDays": "string",
"lexiconKeys": {
"name": "string",
"redempInstr": "string",
"terms": "string"
},
"name": "string",
"productTypes": [
{
"destination": "string",
"destination_id": "string",
"fare": "string",
"fareId": "string",
"id": "string",
"name": "string",
"origin": "string",
"origin_id": "string",
"qty": "string",
"route": {
"destination": "string",
"destination_id": "string",
"origin": "string",
"origin_id": "string"
},
"tripType": "string",
"tripTypeDisplay": "string",
"type": "string"
}
],
"redeemByCustomer": "boolean",
"redempInstr": "string",
"terms": "string",
"updatedAt": {
"offset": "int",
"value": "string"
},
"userId": "string",
"value": "int",
"valueType": "string"
}