Notify about booking update

POST /booking-event/update/{secret}

Notify about booking update

Path parameters

  • secret string Required

    Security secret received from Holibob

    Minimum length is 5.

Body Required

  • consumerGivenName string | null

    The first name of the consumer, only. Example: Charlie

    Minimum length is 1.

  • consumerPartnerExternalReference string | null

    The partner's unique reference of the consumer

    Minimum length is 1.

  • consumerPhone string | null

    All phone numbers must be added in the E.164 format to be considered valid. We are using https://www.npmjs.com/package/google-libphonenumber library for validation.

    • numbers should start with a '+'
    • followed by country code
    • the phone number

    For example:

    • USA: +14155552671
    • Brazil: +551155256325
    • UK: +442071838750

    Minimum length is 10.

  • consumerEmail string(email) | null

    The email address of the consumer

  • consumerNationality string | null

    The nationality of the consumer. It takes country codes in ISO 3166-1 alpha-2 standard

    Values are AF, AL, DZ, AS, AD, AO, AI, AQ, AG, AR, AM, AW, AU, AT, AZ, BS, BH, BD, BB, BY, BE, BZ, BJ, BM, BT, BO, BA, BW, BV, BR, IO, BN, BG, BF, BI, KH, CM, CA, CV, KY, CF, TD, CL, CN, CX, CC, CO, KM, CG, CD, CK, CR, CI, HR, CU, CY, CZ, DK, DJ, DM, DO, EC, EG, SV, GQ, ER, EE, ET, FK, FO, FJ, FI, FR, GF, PF, TF, GA, GM, GE, DE, GH, GI, GR, GL, GD, GP, GU, GT, GN, GW, GY, HT, HM, VA, HN, HK, HU, IS, IN, ID, IR, IQ, IE, IL, IT, JM, JP, JO, KZ, KE, KI, KP, KR, KW, KG, LA, LV, LB, LS, LR, LY, LI, LT, LU, MO, MG, MW, MY, MV, ML, MT, MH, MQ, MR, MU, YT, MX, FM, MD, MC, MN, MS, MA, MZ, MM, NA, NR, NP, NL, NC, NZ, NI, NE, NG, NU, NF, MP, MK, NO, OM, PK, PW, PS, PA, PG, PY, PE, PH, PN, PL, PT, PR, QA, RE, RO, RU, RW, SH, KN, LC, PM, VC, WS, SM, ST, SA, SN, SC, SL, SG, SK, SI, SB, SO, ZA, GS, ES, LK, SD, SR, SJ, SZ, SE, CH, SY, TW, TJ, TZ, TH, TL, TG, TK, TO, TT, TN, TR, TM, TC, TV, UG, UA, AE, GB, US, UM, UY, UZ, VU, VE, VN, VG, VI, WF, EH, YE, ZM, ZW, AX, BQ, CW, GG, IM, JE, ME, BL, MF, RS, SX, SS, or XK.

  • consumerCurrency string | null

    The preferred currency of the consumer. For example USD, EUR

    Minimum length is 3, maximum length is 3. Format should match the following pattern: ^[A-Z]{3}$.

  • consumerTripPartnerExternalReference string Required

    The partner's unique reference of the consumer's trip and or booking

    Minimum length is 1.

  • consumerTripArrivalDate string(date) | string(date-time)

    The arrival date of the consumer's trip. The datetime that the consumer arrives at the destination. Timezone is required when passing a datetime string. Correct datetime string should follow ISO 8601 standard with timezone.

    For example

    • 2024-06-14
    • 2024-06-14T07:27:17.335Z
    • 2020-01-01T00:00:00.123+0200

    If the request only have consumerTripArrivalDate that means it is a one-way trip

    Any of:

    The arrival date of the consumer's trip. The datetime that the consumer arrives at the destination. Timezone is required when passing a datetime string. Correct datetime string should follow ISO 8601 standard with timezone.

    For example

    • 2024-06-14
    • 2024-06-14T07:27:17.335Z
    • 2020-01-01T00:00:00.123+0200

    If the request only have consumerTripArrivalDate that means it is a one-way trip

    The arrival date of the consumer's trip. The datetime that the consumer arrives at the destination. Timezone is required when passing a datetime string. Correct datetime string should follow ISO 8601 standard with timezone.

    For example

    • 2024-06-14
    • 2024-06-14T07:27:17.335Z
    • 2020-01-01T00:00:00.123+0200

    If the request only have consumerTripArrivalDate that means it is a one-way trip

  • consumerTripReturnDate string(date) | string(date-time)

    The return date of the consumer's trip. The datetime that the consumer returns from the destination. Timezone is required when passing a datetime string. Correct datetime string should follow ISO 8601 standard with timezone.

    For example

    • 2024-06-14
    • 2024-06-14T07:27:17.335Z
    • 2020-01-01T00:00:00.123+0200

    If the request have both consumerTripArrivalDate and consumerTripReturnDate that means it is a round trip

    Any of:

    The return date of the consumer's trip. The datetime that the consumer returns from the destination. Timezone is required when passing a datetime string. Correct datetime string should follow ISO 8601 standard with timezone.

    For example

    • 2024-06-14
    • 2024-06-14T07:27:17.335Z
    • 2020-01-01T00:00:00.123+0200

    If the request have both consumerTripArrivalDate and consumerTripReturnDate that means it is a round trip

    The return date of the consumer's trip. The datetime that the consumer returns from the destination. Timezone is required when passing a datetime string. Correct datetime string should follow ISO 8601 standard with timezone.

    For example

    • 2024-06-14
    • 2024-06-14T07:27:17.335Z
    • 2020-01-01T00:00:00.123+0200

    If the request have both consumerTripArrivalDate and consumerTripReturnDate that means it is a round trip

  • consumerTripDepartureCityName string | null

    The departure city name for the outbound journey

    Minimum length is 1.

  • consumerTripDepartureCountryName string | null

    The departure country name for the outbound journey

    Minimum length is 1.

  • consumerTripDepartureAirportCode string | null

    The departure airport code for the outbound journey

    Minimum length is 1.

  • consumerTripArrivalFlightNumber string | null

    The flight number for the arrival journey. For example: QF9

    Minimum length is 1.

  • consumerTripDepartureFlightNumber string | null

    The flight number for the outbound journey. For example: BA 222

    Minimum length is 1.

  • consumerTripDepartureFlightClass string | null

    The flight class for the outbound journey

    Values are ECONOMY, PREMIUM_ECONOMY, BUSINESS, or FIRST_CLASS.

  • consumerTripBookingDate string(date) | string(date-time)

    The datetime that the consumer made a booking on the partner's system

    Any of:

    The datetime that the consumer made a booking on the partner's system

    The datetime that the consumer made a booking on the partner's system

  • consumerTripBookingLink string(uri) | null

    The partner's link for the consumer to view their booking. This is often a link to a manage my booking page

  • consumerTripAccommodationName string | null

    The name of the accommodation where the consumer is staying during their trip. This is often a hotel name

    Minimum length is 1.

  • consumerTripAccommodationAddress string | null

    The address of the accommodation where the consumer is staying during their trip

    Minimum length is 1.

  • consumerTripVenueName string | null

    The name of some venue that the consumer will attend during their trip

    Minimum length is 1.

  • consumerTripVenueAddress string | null

    The address of some venue that the consumer will attend during their trip

    Minimum length is 1.

  • consumerTripDestinationName string | null

    The name of the destination where the consumer's trip is. This is often a city name. This field is case insensitive.

    If using consumerTripDestinationName, both consumerTripDestinationName and consumerTripDestinationCountryName must be used.

    Minimum length is 1.

  • consumerTripDestinationCountryName string | null

    The name of the destination's country

    Minimum length is 1.

  • consumerTripDestinationAirportCode string | null

    The destination airport code for the return journey

    Minimum length is 1.

  • consumerTripArrivalAirportName string | null

    The arrival airport name for the return journey

    Minimum length is 1.

  • consumerTripDepartureAirportName string | null

    The departure airport name for the return journey

    Minimum length is 1.

  • consumerTripExternalProductName string | null

    The partner's name for the product that was booked on their system. This is often the name of a hotel room, flight or event

    Minimum length is 1.

  • consumerTripPersonCount integer | null

    The number of people in total on the consumer's trip

    Minimum value is 1.

  • consumerTripChildCount integer | null

    The number of children on the consumer's trip

    Minimum value is 0.

  • consumerTripInfantCount integer | null

    The number of infants on the consumer's trip

    Minimum value is 0.

  • consumerTripIsInternational string | null

    Indicates whether the destination of the consumer's trip is international

    Values are true or false.

  • consumerTripIsRegional string | null

    Indicates whether the destination of the consumer's trip is within a day's travel from their home and unlikely to be a holiday destination

    Values are true or false.

  • consumerTripIsLocal string | null

    Indicates whether the destination of the consumer's trip is local to them

    Values are true or false.

Body Required

  • consumerGivenName string | null

    The first name of the consumer, only. Example: Charlie

    Minimum length is 1.

  • consumerPartnerExternalReference string | null

    The partner's unique reference of the consumer

    Minimum length is 1.

  • consumerPhone string | null

    All phone numbers must be added in the E.164 format to be considered valid. We are using https://www.npmjs.com/package/google-libphonenumber library for validation.

    • numbers should start with a '+'
    • followed by country code
    • the phone number

    For example:

    • USA: +14155552671
    • Brazil: +551155256325
    • UK: +442071838750

    Minimum length is 10.

  • consumerEmail string(email) | null

    The email address of the consumer

  • consumerNationality string | null

    The nationality of the consumer. It takes country codes in ISO 3166-1 alpha-2 standard

    Values are AF, AL, DZ, AS, AD, AO, AI, AQ, AG, AR, AM, AW, AU, AT, AZ, BS, BH, BD, BB, BY, BE, BZ, BJ, BM, BT, BO, BA, BW, BV, BR, IO, BN, BG, BF, BI, KH, CM, CA, CV, KY, CF, TD, CL, CN, CX, CC, CO, KM, CG, CD, CK, CR, CI, HR, CU, CY, CZ, DK, DJ, DM, DO, EC, EG, SV, GQ, ER, EE, ET, FK, FO, FJ, FI, FR, GF, PF, TF, GA, GM, GE, DE, GH, GI, GR, GL, GD, GP, GU, GT, GN, GW, GY, HT, HM, VA, HN, HK, HU, IS, IN, ID, IR, IQ, IE, IL, IT, JM, JP, JO, KZ, KE, KI, KP, KR, KW, KG, LA, LV, LB, LS, LR, LY, LI, LT, LU, MO, MG, MW, MY, MV, ML, MT, MH, MQ, MR, MU, YT, MX, FM, MD, MC, MN, MS, MA, MZ, MM, NA, NR, NP, NL, NC, NZ, NI, NE, NG, NU, NF, MP, MK, NO, OM, PK, PW, PS, PA, PG, PY, PE, PH, PN, PL, PT, PR, QA, RE, RO, RU, RW, SH, KN, LC, PM, VC, WS, SM, ST, SA, SN, SC, SL, SG, SK, SI, SB, SO, ZA, GS, ES, LK, SD, SR, SJ, SZ, SE, CH, SY, TW, TJ, TZ, TH, TL, TG, TK, TO, TT, TN, TR, TM, TC, TV, UG, UA, AE, GB, US, UM, UY, UZ, VU, VE, VN, VG, VI, WF, EH, YE, ZM, ZW, AX, BQ, CW, GG, IM, JE, ME, BL, MF, RS, SX, SS, or XK.

  • consumerCurrency string | null

    The preferred currency of the consumer. For example USD, EUR

    Minimum length is 3, maximum length is 3. Format should match the following pattern: ^[A-Z]{3}$.

  • consumerTripPartnerExternalReference string Required

    The partner's unique reference of the consumer's trip and or booking

    Minimum length is 1.

  • consumerTripArrivalDate string(date) | string(date-time)

    The arrival date of the consumer's trip. The datetime that the consumer arrives at the destination. Timezone is required when passing a datetime string. Correct datetime string should follow ISO 8601 standard with timezone.

    For example

    • 2024-06-14
    • 2024-06-14T07:27:17.335Z
    • 2020-01-01T00:00:00.123+0200

    If the request only have consumerTripArrivalDate that means it is a one-way trip

    Any of:

    The arrival date of the consumer's trip. The datetime that the consumer arrives at the destination. Timezone is required when passing a datetime string. Correct datetime string should follow ISO 8601 standard with timezone.

    For example

    • 2024-06-14
    • 2024-06-14T07:27:17.335Z
    • 2020-01-01T00:00:00.123+0200

    If the request only have consumerTripArrivalDate that means it is a one-way trip

    The arrival date of the consumer's trip. The datetime that the consumer arrives at the destination. Timezone is required when passing a datetime string. Correct datetime string should follow ISO 8601 standard with timezone.

    For example

    • 2024-06-14
    • 2024-06-14T07:27:17.335Z
    • 2020-01-01T00:00:00.123+0200

    If the request only have consumerTripArrivalDate that means it is a one-way trip

  • consumerTripReturnDate string(date) | string(date-time)

    The return date of the consumer's trip. The datetime that the consumer returns from the destination. Timezone is required when passing a datetime string. Correct datetime string should follow ISO 8601 standard with timezone.

    For example

    • 2024-06-14
    • 2024-06-14T07:27:17.335Z
    • 2020-01-01T00:00:00.123+0200

    If the request have both consumerTripArrivalDate and consumerTripReturnDate that means it is a round trip

    Any of:

    The return date of the consumer's trip. The datetime that the consumer returns from the destination. Timezone is required when passing a datetime string. Correct datetime string should follow ISO 8601 standard with timezone.

    For example

    • 2024-06-14
    • 2024-06-14T07:27:17.335Z
    • 2020-01-01T00:00:00.123+0200

    If the request have both consumerTripArrivalDate and consumerTripReturnDate that means it is a round trip

    The return date of the consumer's trip. The datetime that the consumer returns from the destination. Timezone is required when passing a datetime string. Correct datetime string should follow ISO 8601 standard with timezone.

    For example

    • 2024-06-14
    • 2024-06-14T07:27:17.335Z
    • 2020-01-01T00:00:00.123+0200

    If the request have both consumerTripArrivalDate and consumerTripReturnDate that means it is a round trip

  • consumerTripDepartureCityName string | null

    The departure city name for the outbound journey

    Minimum length is 1.

  • consumerTripDepartureCountryName string | null

    The departure country name for the outbound journey

    Minimum length is 1.

  • consumerTripDepartureAirportCode string | null

    The departure airport code for the outbound journey

    Minimum length is 1.

  • consumerTripArrivalFlightNumber string | null

    The flight number for the arrival journey. For example: QF9

    Minimum length is 1.

  • consumerTripDepartureFlightNumber string | null

    The flight number for the outbound journey. For example: BA 222

    Minimum length is 1.

  • consumerTripDepartureFlightClass string | null

    The flight class for the outbound journey

    Values are ECONOMY, PREMIUM_ECONOMY, BUSINESS, or FIRST_CLASS.

  • consumerTripBookingDate string(date) | string(date-time)

    The datetime that the consumer made a booking on the partner's system

    Any of:

    The datetime that the consumer made a booking on the partner's system

    The datetime that the consumer made a booking on the partner's system

  • consumerTripBookingLink string(uri) | null

    The partner's link for the consumer to view their booking. This is often a link to a manage my booking page

  • consumerTripAccommodationName string | null

    The name of the accommodation where the consumer is staying during their trip. This is often a hotel name

    Minimum length is 1.

  • consumerTripAccommodationAddress string | null

    The address of the accommodation where the consumer is staying during their trip

    Minimum length is 1.

  • consumerTripVenueName string | null

    The name of some venue that the consumer will attend during their trip

    Minimum length is 1.

  • consumerTripVenueAddress string | null

    The address of some venue that the consumer will attend during their trip

    Minimum length is 1.

  • consumerTripDestinationName string | null

    The name of the destination where the consumer's trip is. This is often a city name. This field is case insensitive.

    If using consumerTripDestinationName, both consumerTripDestinationName and consumerTripDestinationCountryName must be used.

    Minimum length is 1.

  • consumerTripDestinationCountryName string | null

    The name of the destination's country

    Minimum length is 1.

  • consumerTripDestinationAirportCode string | null

    The destination airport code for the return journey

    Minimum length is 1.

  • consumerTripArrivalAirportName string | null

    The arrival airport name for the return journey

    Minimum length is 1.

  • consumerTripDepartureAirportName string | null

    The departure airport name for the return journey

    Minimum length is 1.

  • consumerTripExternalProductName string | null

    The partner's name for the product that was booked on their system. This is often the name of a hotel room, flight or event

    Minimum length is 1.

  • consumerTripPersonCount integer | null

    The number of people in total on the consumer's trip

    Minimum value is 1.

  • consumerTripChildCount integer | null

    The number of children on the consumer's trip

    Minimum value is 0.

  • consumerTripInfantCount integer | null

    The number of infants on the consumer's trip

    Minimum value is 0.

  • consumerTripIsInternational string | null

    Indicates whether the destination of the consumer's trip is international

    Values are true or false.

  • consumerTripIsRegional string | null

    Indicates whether the destination of the consumer's trip is within a day's travel from their home and unlikely to be a holiday destination

    Values are true or false.

  • consumerTripIsLocal string | null

    Indicates whether the destination of the consumer's trip is local to them

    Values are true or false.

Responses

  • 200 application/json

    Success

    Hide response attribute Show response attribute object
    • success boolean

      Indicates if the operation was successful

  • 403 application/json

    Returned when provided secret is invalid

    Hide response attribute Show response attribute object
    • message string Required

      Minimum length is 1.

  • 422 application/json

    Returned when one of validation rules has been violated

    Hide response attributes Show response attributes object
    • message string Required

      Minimum length is 1.

    • violationList array[object] Required

      At least 1 element.

      Hide violationList attributes Show violationList attributes object
      • message string Required

        Minimum length is 1.

      • propertyPath array[string] Required

        Minimum length of each is 1.

POST /booking-event/update/{secret}
curl \
 --request POST 'https://webhook.production.holibob.tech/booking-event/update/{secret}' \
 --header "Content-Type: application/x-www-form-urlencoded" \
 --data 'consumerEmail=christophe4%40gmail.com&consumerPhone=%2B44+7707+373348&consumerCurrency=GBP&consumerGivenName=Christophe&consumerNationality=GB&consumerTripArrivalDate=2024-05-18T06%3A55%3A00.000Z&consumerTripBookingLink=https%3A%2F%2Fthrifty-starboard.biz%2Fbooking%2Fdb196e31-611b-41e0-b1ee-aeb4d6ad1d3a&consumerTripPersonCount=2&consumerTripDestinationName=London&consumerTripDepartureCityName=Dubai&consumerTripArrivalAirportName=London+Heathrow+Airport&consumerPartnerExternalReference=y34lS53cLJeyYJHc17JZ&consumerTripDepartureAirportCode=DXB&consumerTripDepartureCountryName=United+Arab+Emirates&consumerTripDepartureFlightClass=ECONOMY&consumerTripDestinationAirportCode=LHR&consumerTripDestinationCountryName=United+Kingdom&consumerTripPartnerExternalReference=y8c6OBIEZmKXeD6Vbg78'
curl \
 --request POST 'https://webhook.production.holibob.tech/booking-event/update/{secret}' \
 --header "Content-Type: application/json" \
 --data '{"consumerEmail":"christophe4@gmail.com","consumerPhone":"+44 7707 373348","consumerCurrency":"GBP","consumerGivenName":"Christophe","consumerNationality":"GB","consumerTripArrivalDate":"2024-05-18T06:55:00.000Z","consumerTripBookingLink":"https://thrifty-starboard.biz/booking/db196e31-611b-41e0-b1ee-aeb4d6ad1d3a","consumerTripPersonCount":"2","consumerTripDestinationName":"London","consumerTripDepartureCityName":"Dubai","consumerTripArrivalAirportName":"London Heathrow Airport","consumerPartnerExternalReference":"y34lS53cLJeyYJHc17JZ","consumerTripDepartureAirportCode":"DXB","consumerTripDepartureCountryName":"United Arab Emirates","consumerTripDepartureFlightClass":"ECONOMY","consumerTripDestinationAirportCode":"LHR","consumerTripDestinationCountryName":"United Kingdom","consumerTripPartnerExternalReference":"y8c6OBIEZmKXeD6Vbg78"}'
{"consumerEmail"=>"christophe4@gmail.com", "consumerPhone"=>"+44 7707 373348", "consumerCurrency"=>"GBP", "consumerGivenName"=>"Christophe", "consumerNationality"=>"GB", "consumerTripArrivalDate"=>"2024-05-18T06:55:00.000Z", "consumerTripBookingLink"=>"https://thrifty-starboard.biz/booking/db196e31-611b-41e0-b1ee-aeb4d6ad1d3a", "consumerTripPersonCount"=>"2", "consumerTripDestinationName"=>"London", "consumerTripDepartureCityName"=>"Dubai", "consumerTripArrivalAirportName"=>"London Heathrow Airport", "consumerPartnerExternalReference"=>"y34lS53cLJeyYJHc17JZ", "consumerTripDepartureAirportCode"=>"DXB", "consumerTripDepartureCountryName"=>"United Arab Emirates", "consumerTripDepartureFlightClass"=>"ECONOMY", "consumerTripDestinationAirportCode"=>"LHR", "consumerTripDestinationCountryName"=>"United Kingdom", "consumerTripPartnerExternalReference"=>"y8c6OBIEZmKXeD6Vbg78"}
{"consumerEmail"=>"christophe4@gmail.com", "consumerPhone"=>"+44 7707 373348", "consumerCurrency"=>"GBP", "consumerGivenName"=>"Christophe", "consumerNationality"=>"GB", "consumerTripReturnDate"=>"2024-05-20T08:00:00.000Z", "consumerTripArrivalDate"=>"2024-05-18T06:55:00.000Z", "consumerTripBookingLink"=>"https://thrifty-starboard.biz/booking/db196e31-611b-41e0-b1ee-aeb4d6ad1d3a", "consumerTripPersonCount"=>"2", "consumerTripDestinationName"=>"London", "consumerTripDepartureCityName"=>"Dubai", "consumerTripArrivalAirportName"=>"London Heathrow Airport", "consumerPartnerExternalReference"=>"y34lS53cLJeyYJHc17JZ", "consumerTripDepartureAirportCode"=>"DXB", "consumerTripDepartureAirportName"=>"Dubai International Airport", "consumerTripDepartureCountryName"=>"United Arab Emirates", "consumerTripDepartureFlightClass"=>"ECONOMY", "consumerTripDestinationAirportCode"=>"LHR", "consumerTripDestinationCountryName"=>"United Kingdom", "consumerTripPartnerExternalReference"=>"y8c6OBIEZmKXeD6Vbg78"}
{"consumerEmail"=>"christophe4@gmail.com", "consumerPhone"=>"+44 7707 373348", "consumerCurrency"=>"USD", "consumerGivenName"=>"Christophe", "consumerTripChildCount"=>"2", "consumerTripReturnDate"=>"2024-05-20T08:00:00.000Z", "consumerTripArrivalDate"=>"2024-05-18T06:55:00.000Z", "consumerTripBookingDate"=>"2024-04-01T13:34:01.000Z", "consumerTripBookingLink"=>"https://thrifty-starboard.biz/booking/db196e31-611b-41e0-b1ee-aeb4d6ad1d3a", "consumerTripPersonCount"=>"2", "consumerTripDestinationName"=>"Rome", "consumerTripAccommodationName"=>"Golden Tulip Rome Piram", "consumerPartnerExternalReference"=>"y34lS53cLJeyYJHc17JZ", "consumerTripAccommodationAddress"=>"Via Giovanni Amendola, 7, 00185 Roma RM, Italy", "consumerTripDestinationCountryName"=>"Italy", "consumerTripPartnerExternalReference"=>"y8c6OBIEZmKXeD6Vbg78"}
{"consumerEmail"=>"christophe4@gmail.com", "consumerPhone"=>"+44 7707 373348", "consumerCurrency"=>"USD", "consumerGivenName"=>"Christophe", "consumerTripIsLocal"=>"true", "consumerTripVenueName"=>"Hotel Roma Tor Vergata", "consumerTripChildCount"=>"2", "consumerTripReturnDate"=>"2024-05-20T08:00:00.000Z", "consumerTripArrivalDate"=>"2024-05-18T06:55:00.000Z", "consumerTripBookingDate"=>"2024-04-01T13:34:01.000Z", "consumerTripBookingLink"=>"https://thrifty-starboard.biz/booking/db196e31-611b-41e0-b1ee-aeb4d6ad1d3a", "consumerTripPersonCount"=>"2", "consumerTripVenueAddress"=>"Via Vico Viganò, 24, 00133 Roma RM, Italy", "consumerTripDestinationName"=>"Rome", "consumerTripExternalProductName"=>"Sunset Rome Food & Wine Tour around Prati District", "consumerPartnerExternalReference"=>"y34lS53cLJeyYJHc17JZ", "consumerTripDestinationCountryName"=>"Italy", "consumerTripPartnerExternalReference"=>"y8c6OBIEZmKXeD6Vbg78"}
{
  "consumerEmail": "christophe4@gmail.com",
  "consumerPhone": "+44 7707 373348",
  "consumerCurrency": "GBP",
  "consumerGivenName": "Christophe",
  "consumerNationality": "GB",
  "consumerTripArrivalDate": "2024-05-18T06:55:00.000Z",
  "consumerTripBookingLink": "https://thrifty-starboard.biz/booking/db196e31-611b-41e0-b1ee-aeb4d6ad1d3a",
  "consumerTripPersonCount": "2",
  "consumerTripDestinationName": "London",
  "consumerTripDepartureCityName": "Dubai",
  "consumerTripArrivalAirportName": "London Heathrow Airport",
  "consumerPartnerExternalReference": "y34lS53cLJeyYJHc17JZ",
  "consumerTripDepartureAirportCode": "DXB",
  "consumerTripDepartureCountryName": "United Arab Emirates",
  "consumerTripDepartureFlightClass": "ECONOMY",
  "consumerTripDestinationAirportCode": "LHR",
  "consumerTripDestinationCountryName": "United Kingdom",
  "consumerTripPartnerExternalReference": "y8c6OBIEZmKXeD6Vbg78"
}
{
  "consumerEmail": "christophe4@gmail.com",
  "consumerPhone": "+44 7707 373348",
  "consumerCurrency": "GBP",
  "consumerGivenName": "Christophe",
  "consumerNationality": "GB",
  "consumerTripReturnDate": "2024-05-20T08:00:00.000Z",
  "consumerTripArrivalDate": "2024-05-18T06:55:00.000Z",
  "consumerTripBookingLink": "https://thrifty-starboard.biz/booking/db196e31-611b-41e0-b1ee-aeb4d6ad1d3a",
  "consumerTripPersonCount": "2",
  "consumerTripDestinationName": "London",
  "consumerTripDepartureCityName": "Dubai",
  "consumerTripArrivalAirportName": "London Heathrow Airport",
  "consumerPartnerExternalReference": "y34lS53cLJeyYJHc17JZ",
  "consumerTripDepartureAirportCode": "DXB",
  "consumerTripDepartureAirportName": "Dubai International Airport",
  "consumerTripDepartureCountryName": "United Arab Emirates",
  "consumerTripDepartureFlightClass": "ECONOMY",
  "consumerTripDestinationAirportCode": "LHR",
  "consumerTripDestinationCountryName": "United Kingdom",
  "consumerTripPartnerExternalReference": "y8c6OBIEZmKXeD6Vbg78"
}
{
  "consumerEmail": "christophe4@gmail.com",
  "consumerPhone": "+44 7707 373348",
  "consumerCurrency": "USD",
  "consumerGivenName": "Christophe",
  "consumerTripChildCount": "2",
  "consumerTripReturnDate": "2024-05-20T08:00:00.000Z",
  "consumerTripArrivalDate": "2024-05-18T06:55:00.000Z",
  "consumerTripBookingDate": "2024-04-01T13:34:01.000Z",
  "consumerTripBookingLink": "https://thrifty-starboard.biz/booking/db196e31-611b-41e0-b1ee-aeb4d6ad1d3a",
  "consumerTripPersonCount": "2",
  "consumerTripDestinationName": "Rome",
  "consumerTripAccommodationName": "Golden Tulip Rome Piram",
  "consumerPartnerExternalReference": "y34lS53cLJeyYJHc17JZ",
  "consumerTripAccommodationAddress": "Via Giovanni Amendola, 7, 00185 Roma RM, Italy",
  "consumerTripDestinationCountryName": "Italy",
  "consumerTripPartnerExternalReference": "y8c6OBIEZmKXeD6Vbg78"
}
{
  "consumerEmail": "christophe4@gmail.com",
  "consumerPhone": "+44 7707 373348",
  "consumerCurrency": "USD",
  "consumerGivenName": "Christophe",
  "consumerTripIsLocal": "true",
  "consumerTripVenueName": "Hotel Roma Tor Vergata",
  "consumerTripChildCount": "2",
  "consumerTripReturnDate": "2024-05-20T08:00:00.000Z",
  "consumerTripArrivalDate": "2024-05-18T06:55:00.000Z",
  "consumerTripBookingDate": "2024-04-01T13:34:01.000Z",
  "consumerTripBookingLink": "https://thrifty-starboard.biz/booking/db196e31-611b-41e0-b1ee-aeb4d6ad1d3a",
  "consumerTripPersonCount": "2",
  "consumerTripVenueAddress": "Via Vico Viganò, 24, 00133 Roma RM, Italy",
  "consumerTripDestinationName": "Rome",
  "consumerTripExternalProductName": "Sunset Rome Food & Wine Tour around Prati District",
  "consumerPartnerExternalReference": "y34lS53cLJeyYJHc17JZ",
  "consumerTripDestinationCountryName": "Italy",
  "consumerTripPartnerExternalReference": "y8c6OBIEZmKXeD6Vbg78"
}
Response examples (200)
{
  "success": true
}
Response examples (403)
{
  "message": "Invalid secret"
}
Response examples (422)
{
  "message": "Invalid data",
  "violationList": [
    {
      "message": "String must contain at least 10 character(s)",
      "propertyPath": [
        "consumerPhone"
      ]
    }
  ]
}