BookingFlow
Adds a generic/custom item to basket for payment
post/addgenericitem
Query parameters
searchIdinteger
Optional numeric search Id - only provide if adding the item to an existing search.
searchKeystring
Optional 36-character search security key - only provide if adding the item to an existing search.
Request body
Example request
{
"contactInfo": {
"internalRef": "CUST-123",
"emailAddress": "joe.bloggs@email.com",
"telephone": {
"countryPrefix": "44",
"number": "0123456789"
},
"firstname": "Joe",
"surname": "Bloggs",
"company": "ACME Travel",
"address1": "123 Any Road",
"city": "Bournemouth",
"state": "Dorset",
"postalCode": "BH1 1AB",
"countryCode": "GB"
},
"recipient": {
"internalRef": "CUST-123",
"emailAddress": "joe.bloggs@email.com",
"telephone": {
"countryPrefix": "44",
"number": "0123456789"
},
"firstname": "Joe",
"surname": "Bloggs",
"company": "ACME Travel",
"address1": "123 Any Road",
"city": "Bournemouth",
"state": "Dorset",
"postalCode": "BH1 1AB",
"countryCode": "GB"
},
"passengers": [
{
"firstname": "Joe",
"middleNames": "B",
"surname": "Bloggs",
"dateOfBirth": "1970-01-25",
"nationality": "GB",
"foidNumber": "ABC123456",
"foidStartDate": "2015-01-10",
"foidExpiryDate": "2025-01-10",
"foidIssuingCountry": "GB"
}
]
}Response
OK
Changes
No recorded changes to this endpoint across all 1 revision of this API.