v1
latestOpenAPI 3.1.02026-08-0630894634.3 KBTrips
Update trip details for trip Id
post/v3/trips/{tripId}
Request body
Example request
{
"tripContacts": [
{
"label": "Coordinator",
"name": "Himani Jain",
"email": "himani@spotnana.com",
"phoneNumber": {
"countryCode": 91,
"countryCodeSource": "FROM_NUMBER_WITH_PLUS_SIGN",
"extension": "222",
"isoCountryCode": "IN",
"italianLeadingZero": true,
"nationalNumber": 8150,
"numberOfLeadingZeros": 1,
"preferredDomesticCarrierCode": "7",
"rawInput": "77777",
"type": "MOBILE"
},
"isPrimary": true,
"restrictVisibility": true
}
],
"tripCommunicationPreferences": {
"tripEmailPreferences": {
"bucketEmailPreferences": {
"bucketTypes": [
"BOOKING_CONFIRMATIONS"
],
"toEmails": [
"example@email.com"
],
"ccEmails": [
"example@email.com"
],
"bccEmails": [
"example@email.com"
]
}
}
}
}Response
OK