---
title: "Add itinerary segments from a partner"
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.nicer.travel/llms.txt
> Use this file to discover all available pages before exploring further.

# Add itinerary segments from a partner

Path: Nicer API › Trip itinerary

`POST /trip-itinerary/{tripItineraryId}/webhook`

URL: `https://api.nicer.travel/trip-itinerary/{tripItineraryId}/webhook`

Appends segments to a trip itinerary on behalf of an integration partner and re-synchronizes the trip dates. Not anonymous: the request must carry `x-nicer-webhook-timestamp`, `x-nicer-webhook-signature` and `Idempotency-Key`, and the handler verifies an HMAC-SHA256 signature over the raw body, rejecting anything outside a five-minute window with 401 `WEBHOOK_SIGNATURE_INVALID`. A segment id already present on the itinerary returns 409 `WEBHOOK_SEGMENT_ALREADY_EXISTS`.

## Authentication

- `webhookSignature`, apiKey, in header, header `x-nicer-webhook-signature`

## Path parameters

- `tripItineraryId` (`tripItinerary.webhook.path.tripItineraryId`; string, required)

## Request body

_Required._

- `segment` (`tripItinerary.webhook.segment`; ItinerarySegmentInput, required)
  - every option has:
    - `id` (`<option>.id`; string, required)
    - `type` (`<option>.type`; string, required)
    - `advisorInsights` (`<option>.advisorInsights`; any of, optional)
      - any of the following: `string`, `null`
    - `amenities` (`<option>.amenities`; array of string, optional)
    - `approvedAt` (`<option>.approvedAt`; any of, optional)
      - any of the following: `string`, `null`
    - `approvedBy` (`<option>.approvedBy`; any of, optional)
      - any of the following: `string`, `null`
    - `attachments` (`<option>.attachments`; any of, optional)
      - any of the following:
        - `array<unknown>`
          - `key` (`<option>.attachments.1.key`; string, optional)
          - `name` (`<option>.attachments.1.name`; string, optional)
          - `source` (`<option>.attachments.1.source`; any of, optional)
            - any of the following: `string`, `string`
          - `url` (`<option>.attachments.1.url`; string, optional)
        - `null`
    - `countTravelers` (`<option>.countTravelers`; number, optional)
    - `createdAt` (`<option>.createdAt`; string, optional)
    - `createdBy` (`<option>.createdBy`; string, optional)
    - `currency` (`<option>.currency`; string, optional)
    - `details` (`<option>.details`; any of, optional)
      - any of the following: `string`, `null`
    - `endDateTime` (`<option>.endDateTime`; any of, optional)
      - any of the following: `string`, `null`
    - `groupId` (`<option>.groupId`; string, optional)
    - `hash` (`<option>.hash`; string, optional)
    - `images` (`<option>.images`; any of, optional)
      - any of the following:
        - `array<unknown>`
          - `key` (`<option>.images.1.key`; string, optional)
          - `name` (`<option>.images.1.name`; string, optional)
          - `source` (`<option>.images.1.source`; any of, optional)
            - any of the following: `string`, `string`
          - `url` (`<option>.images.1.url`; string, optional)
        - `null`
    - `isOnSitePayment` (`<option>.isOnSitePayment`; boolean, optional)
    - `lastModifiedBy` (`<option>.lastModifiedBy`; string, optional)
    - `metadata` (`<option>.metadata`; map of unknown, optional) — Keys the writers share (the booking selection, the commerce order state). Its `provider` key, which provider the segment comes from, is answered to Nicer staff only.
    - `price` (`<option>.price`; number, optional)
    - `priceInUSD` (`<option>.priceInUSD`; any of, optional)
      - any of the following: `number`, `null`
    - `rate` (`<option>.rate`; any of, optional)
      - any of the following: `number`, `null`
    - `startDateTime` (`<option>.startDateTime`; string, optional)
    - `updatedAt` (`<option>.updatedAt`; string, optional)
  - one of the following, each adding:
    - `ItineraryFlightSegmentInput`
      - `flightType` (`ItineraryFlightSegmentInput.flightType`; string, required)
        - one of `"one-way"`, `"round-trip"`, `"multi-city"`
      - `location` (`ItineraryFlightSegmentInput.location`; any of, optional)
        - any of the following: `Location`, `null`
      - `title` (`ItineraryFlightSegmentInput.title`; any of, optional)
        - any of the following: `string`, `null`
      - `baggageCharges` (`ItineraryFlightSegmentInput.baggageCharges`; array of object, optional)
        - `description` (`ItineraryFlightSegmentInput.baggageCharges.description`; any of, required)
          - any of the following: `string`, `null`
        - `firstPiece` (`ItineraryFlightSegmentInput.baggageCharges.firstPiece`; integer, required)
          - maximum: `9007199254740991`
        - `lastPiece` (`ItineraryFlightSegmentInput.baggageCharges.lastPiece`; integer, required)
          - maximum: `9007199254740991`
        - `passengerReference` (`ItineraryFlightSegmentInput.baggageCharges.passengerReference`; string, required)
          - minLength: `1`
        - `price` (`ItineraryFlightSegmentInput.baggageCharges.price`; object, required)
          - `amountMinor` (`ItineraryFlightSegmentInput.baggageCharges.price.amountMinor`; integer, required)
            - maximum: `9007199254740991` · minimum: `0`
          - `currency` (`ItineraryFlightSegmentInput.baggageCharges.price.currency`; string, required)
            - pattern: `^[A-Z]{3}$`
        - `segmentReferences` (`ItineraryFlightSegmentInput.baggageCharges.segmentReferences`; array of string, required)
          - minLength: `1`
        - `size` (`ItineraryFlightSegmentInput.baggageCharges.size`; any of, required)
          - any of the following: `BaggageSize`, `null`
        - `type` (`ItineraryFlightSegmentInput.baggageCharges.type`; string, required)
          - one of `"CARRY_ON"`, `"CHECKED"`
        - `weight` (`ItineraryFlightSegmentInput.baggageCharges.weight`; any of, required)
          - any of the following: `BaggageWeight`, `null`
      - `brandFeatures` (`ItineraryFlightSegmentInput.brandFeatures`; array of object, optional)
        - `availability` (`ItineraryFlightSegmentInput.brandFeatures.availability`; string, required)
          - one of `"CHARGEABLE"`, `"INCLUDED"`, `"NOT_OFFERED"`
        - `name` (`ItineraryFlightSegmentInput.brandFeatures.name`; string, required)
          - minLength: `1`
      - `cabin` (`ItineraryFlightSegmentInput.cabin`; string, optional)
        - one of `"BUSINESS"`, `"ECONOMY"`, `"FIRST"`, `"PREMIUM_ECONOMY"`
      - `commercialSnapshot` (`ItineraryFlightSegmentInput.commercialSnapshot`; object, optional) — Expected supplier commission, advisor earning and traveler reward, with their calculation inputs, as quoted. Answered only to the agency's own advisors and admins and to Nicer staff; absent for travelers and anonymous readers.
        - `calculationInputs` (`ItineraryFlightSegmentInput.commercialSnapshot.calculationInputs`; map of any of, required)
        - `expectedAdvisorEarning` (`ItineraryFlightSegmentInput.commercialSnapshot.expectedAdvisorEarning`; any of, required)
          - any of the following:
            - `object`
              - `amountMinor` (`ItineraryFlightSegmentInput.commercialSnapshot.expectedAdvisorEarning.1.amountMinor`; integer, required)
                - maximum: `9007199254740991` · minimum: `0`
              - `currency` (`ItineraryFlightSegmentInput.commercialSnapshot.expectedAdvisorEarning.1.currency`; string, required)
                - pattern: `^[A-Z]{3}$`
              - `basis` (`ItineraryFlightSegmentInput.commercialSnapshot.expectedAdvisorEarning.1.basis`; any of, required)
                - any of the following: `string`, `null`
              - `rateBps` (`ItineraryFlightSegmentInput.commercialSnapshot.expectedAdvisorEarning.1.rateBps`; any of, required)
                - any of the following: `integer`, `null`
            - `null`
        - `expectedSupplierCommission` (`ItineraryFlightSegmentInput.commercialSnapshot.expectedSupplierCommission`; any of, required)
          - any of the following:
            - `object`
              - `amountMinor` (`ItineraryFlightSegmentInput.commercialSnapshot.expectedSupplierCommission.1.amountMinor`; integer, required)
                - maximum: `9007199254740991` · minimum: `0`
              - `currency` (`ItineraryFlightSegmentInput.commercialSnapshot.expectedSupplierCommission.1.currency`; string, required)
                - pattern: `^[A-Z]{3}$`
              - `basis` (`ItineraryFlightSegmentInput.commercialSnapshot.expectedSupplierCommission.1.basis`; any of, required)
                - any of the following: `string`, `null`
              - `rateBps` (`ItineraryFlightSegmentInput.commercialSnapshot.expectedSupplierCommission.1.rateBps`; any of, required)
                - any of the following: `integer`, `null`
            - `null`
        - `expectedTravelerReward` (`ItineraryFlightSegmentInput.commercialSnapshot.expectedTravelerReward`; any of, required)
          - any of the following:
            - `object`
              - `amountMinor` (`ItineraryFlightSegmentInput.commercialSnapshot.expectedTravelerReward.1.amountMinor`; integer, required)
                - maximum: `9007199254740991` · minimum: `0`
              - `currency` (`ItineraryFlightSegmentInput.commercialSnapshot.expectedTravelerReward.1.currency`; string, required)
                - pattern: `^[A-Z]{3}$`
              - `basis` (`ItineraryFlightSegmentInput.commercialSnapshot.expectedTravelerReward.1.basis`; any of, required)
                - any of the following: `string`, `null`
              - `rateBps` (`ItineraryFlightSegmentInput.commercialSnapshot.expectedTravelerReward.1.rateBps`; any of, required)
                - any of the following: `integer`, `null`
            - `null`
        - `policyVersion` (`ItineraryFlightSegmentInput.commercialSnapshot.policyVersion`; string, required)
          - minLength: `1`
      - `fareRules` (`ItineraryFlightSegmentInput.fareRules`; array of object, optional)
        - `category` (`ItineraryFlightSegmentInput.fareRules.category`; string, required)
          - one of `"ADVANCE_PURCHASE"`, `"CANCELLATION"`, `"CHANGE"`, `"MINIMUM_STAY"`, `"NO_SHOW"`, `"OTHER"`
        - `exactCopy` (`ItineraryFlightSegmentInput.fareRules.exactCopy`; string, required)
          - minLength: `1`
        - `passengerReferences` (`ItineraryFlightSegmentInput.fareRules.passengerReferences`; array of string, required)
          - minLength: `1`
      - `flightIndex` (`ItineraryFlightSegmentInput.flightIndex`; string, optional)
      - `inbound` (`ItineraryFlightSegmentInput.inbound`; array of object, optional)
        - `departingAt` (`ItineraryFlightSegmentInput.inbound.departingAt`; string, required)
        - `destination` (`ItineraryFlightSegmentInput.inbound.destination`; object, required)
          - `address` (`ItineraryFlightSegmentInput.inbound.destination.address`; any of, optional)
            - any of the following: `string`, `null`
          - `amenities` (`ItineraryFlightSegmentInput.inbound.destination.amenities`; array of string, optional)
          - `city` (`ItineraryFlightSegmentInput.inbound.destination.city`; any of, optional)
            - any of the following: `string`, `null`
          - `country` (`ItineraryFlightSegmentInput.inbound.destination.country`; string, optional)
          - `countryCode` (`ItineraryFlightSegmentInput.inbound.destination.countryCode`; string, optional)
          - `description` (`ItineraryFlightSegmentInput.inbound.destination.description`; string, optional)
          - `distanceFromSearch` (`ItineraryFlightSegmentInput.inbound.destination.distanceFromSearch`; object, optional)
            - `unit` (`ItineraryFlightSegmentInput.inbound.destination.distanceFromSearch.unit`; string, required)
              - one of `"km"`, `"mi"`
            - `value` (`ItineraryFlightSegmentInput.inbound.destination.distanceFromSearch.value`; number, required)
          - `features` (`ItineraryFlightSegmentInput.inbound.destination.features`; array of string, optional)
          - `fullAddress` (`ItineraryFlightSegmentInput.inbound.destination.fullAddress`; string, optional)
          - `gate` (`ItineraryFlightSegmentInput.inbound.destination.gate`; any of, optional)
            - any of the following: `string`, `null`
          - `iataCode` (`ItineraryFlightSegmentInput.inbound.destination.iataCode`; any of, optional)
            - any of the following: `string`, `null`
          - `internovaId` (`ItineraryFlightSegmentInput.inbound.destination.internovaId`; string, optional)
          - `latitude` (`ItineraryFlightSegmentInput.inbound.destination.latitude`; number, optional)
          - `longitude` (`ItineraryFlightSegmentInput.inbound.destination.longitude`; number, optional)
          - `name` (`ItineraryFlightSegmentInput.inbound.destination.name`; string, optional)
          - `photos` (`ItineraryFlightSegmentInput.inbound.destination.photos`; array of object, optional)
            - `name` (`ItineraryFlightSegmentInput.inbound.destination.photos.name`; string, required)
            - `key` (`ItineraryFlightSegmentInput.inbound.destination.photos.key`; string, optional)
            - `url` (`ItineraryFlightSegmentInput.inbound.destination.photos.url`; string, optional)
          - `placeId` (`ItineraryFlightSegmentInput.inbound.destination.placeId`; string, optional)
          - `region` (`ItineraryFlightSegmentInput.inbound.destination.region`; string, optional)
          - `source` (`ItineraryFlightSegmentInput.inbound.destination.source`; string, optional)
          - `state` (`ItineraryFlightSegmentInput.inbound.destination.state`; any of, optional)
            - any of the following: `string`, `null`
          - `terminal` (`ItineraryFlightSegmentInput.inbound.destination.terminal`; any of, optional)
            - any of the following: `string`, `null`
          - `timeZone` (`ItineraryFlightSegmentInput.inbound.destination.timeZone`; string, optional)
          - `zipCode` (`ItineraryFlightSegmentInput.inbound.destination.zipCode`; any of, optional)
            - any of the following: `string`, `null`
        - `origin` (`ItineraryFlightSegmentInput.inbound.origin`; object, required)
          - `address` (`ItineraryFlightSegmentInput.inbound.origin.address`; any of, optional)
            - any of the following: `string`, `null`
          - `amenities` (`ItineraryFlightSegmentInput.inbound.origin.amenities`; array of string, optional)
          - `city` (`ItineraryFlightSegmentInput.inbound.origin.city`; any of, optional)
            - any of the following: `string`, `null`
          - `country` (`ItineraryFlightSegmentInput.inbound.origin.country`; string, optional)
          - `countryCode` (`ItineraryFlightSegmentInput.inbound.origin.countryCode`; string, optional)
          - `description` (`ItineraryFlightSegmentInput.inbound.origin.description`; string, optional)
          - `distanceFromSearch` (`ItineraryFlightSegmentInput.inbound.origin.distanceFromSearch`; object, optional)
            - `unit` (`ItineraryFlightSegmentInput.inbound.origin.distanceFromSearch.unit`; string, required)
              - one of `"km"`, `"mi"`
            - `value` (`ItineraryFlightSegmentInput.inbound.origin.distanceFromSearch.value`; number, required)
          - `features` (`ItineraryFlightSegmentInput.inbound.origin.features`; array of string, optional)
          - `fullAddress` (`ItineraryFlightSegmentInput.inbound.origin.fullAddress`; string, optional)
          - `gate` (`ItineraryFlightSegmentInput.inbound.origin.gate`; any of, optional)
            - any of the following: `string`, `null`
          - `iataCode` (`ItineraryFlightSegmentInput.inbound.origin.iataCode`; any of, optional)
            - any of the following: `string`, `null`
          - `internovaId` (`ItineraryFlightSegmentInput.inbound.origin.internovaId`; string, optional)
          - `latitude` (`ItineraryFlightSegmentInput.inbound.origin.latitude`; number, optional)
          - `longitude` (`ItineraryFlightSegmentInput.inbound.origin.longitude`; number, optional)
          - `name` (`ItineraryFlightSegmentInput.inbound.origin.name`; string, optional)
          - `photos` (`ItineraryFlightSegmentInput.inbound.origin.photos`; array of object, optional)
            - `name` (`ItineraryFlightSegmentInput.inbound.origin.photos.name`; string, required)
            - `key` (`ItineraryFlightSegmentInput.inbound.origin.photos.key`; string, optional)
            - `url` (`ItineraryFlightSegmentInput.inbound.origin.photos.url`; string, optional)
          - `placeId` (`ItineraryFlightSegmentInput.inbound.origin.placeId`; string, optional)
          - `region` (`ItineraryFlightSegmentInput.inbound.origin.region`; string, optional)
          - `source` (`ItineraryFlightSegmentInput.inbound.origin.source`; string, optional)
          - `state` (`ItineraryFlightSegmentInput.inbound.origin.state`; any of, optional)
            - any of the following: `string`, `null`
          - `terminal` (`ItineraryFlightSegmentInput.inbound.origin.terminal`; any of, optional)
            - any of the following: `string`, `null`
          - `timeZone` (`ItineraryFlightSegmentInput.inbound.origin.timeZone`; string, optional)
          - `zipCode` (`ItineraryFlightSegmentInput.inbound.origin.zipCode`; any of, optional)
            - any of the following: `string`, `null`
        - `aircraft` (`ItineraryFlightSegmentInput.inbound.aircraft`; any of, optional)
          - any of the following: `string`, `null`
        - `arrivingAt` (`ItineraryFlightSegmentInput.inbound.arrivingAt`; any of, optional)
          - default: `null`
          - any of the following: `string`, `null`
        - `baggage` (`ItineraryFlightSegmentInput.inbound.baggage`; array of object, optional)
          - `passengerReference` (`ItineraryFlightSegmentInput.inbound.baggage.passengerReference`; string, required)
            - minLength: `1`
          - `pieces` (`ItineraryFlightSegmentInput.inbound.baggage.pieces`; any of, required)
            - any of the following: `integer`, `null`
          - `serviceId` (`ItineraryFlightSegmentInput.inbound.baggage.serviceId`; string, required)
            - minLength: `1`
          - `status` (`ItineraryFlightSegmentInput.inbound.baggage.status`; string, required)
            - one of `"AVAILABLE"`, `"NOT_REQUESTED"`, `"NOT_SUPPORTED"`
          - `type` (`ItineraryFlightSegmentInput.inbound.baggage.type`; string, required)
            - one of `"CARRY_ON"`, `"CHECKED"`
          - `weight` (`ItineraryFlightSegmentInput.inbound.baggage.weight`; any of, required)
            - any of the following: `BaggageWeight`, `null`
          - `description` (`ItineraryFlightSegmentInput.inbound.baggage.description`; any of, optional)
            - any of the following: `string`, `null`
          - `size` (`ItineraryFlightSegmentInput.inbound.baggage.size`; any of, optional)
            - any of the following: `BaggageSize`, `null`
        - `bookingClass` (`ItineraryFlightSegmentInput.inbound.bookingClass`; any of, optional)
          - any of the following: `string`, `null`
        - `brand` (`ItineraryFlightSegmentInput.inbound.brand`; any of, optional)
          - any of the following:
            - `object`
              - `code` (`ItineraryFlightSegmentInput.inbound.brand.1.code`; string, required)
              - `name` (`ItineraryFlightSegmentInput.inbound.brand.1.name`; string, required)
            - `null`
        - `cabin` (`ItineraryFlightSegmentInput.inbound.cabin`; string, optional)
          - one of `"BUSINESS"`, `"ECONOMY"`, `"FIRST"`, `"PREMIUM_ECONOMY"`
        - `distance` (`ItineraryFlightSegmentInput.inbound.distance`; any of, optional)
          - any of the following: `string`, `null`
        - `duration` (`ItineraryFlightSegmentInput.inbound.duration`; any of, optional)
          - any of the following: `string`, `null`
        - `explicitNoFlightNumber` (`ItineraryFlightSegmentInput.inbound.explicitNoFlightNumber`; any of, optional)
          - any of the following: `boolean`, `null`
        - `fareBasisCode` (`ItineraryFlightSegmentInput.inbound.fareBasisCode`; any of, optional)
          - any of the following: `string`, `null`
        - `hiddenStops` (`ItineraryFlightSegmentInput.inbound.hiddenStops`; array of object, optional)
          - `airport` (`ItineraryFlightSegmentInput.inbound.hiddenStops.airport`; object, required)
            - `city` (`ItineraryFlightSegmentInput.inbound.hiddenStops.airport.city`; any of, required)
              - any of the following: `string`, `null`
            - `countryCode` (`ItineraryFlightSegmentInput.inbound.hiddenStops.airport.countryCode`; any of, required)
              - any of the following: `CountryCode`, `null`
            - `iataCode` (`ItineraryFlightSegmentInput.inbound.hiddenStops.airport.iataCode`; string, required)
              - pattern: `^[A-Z]{3}$`
            - `name` (`ItineraryFlightSegmentInput.inbound.hiddenStops.airport.name`; any of, required)
              - any of the following: `string`, `null`
            - `timeZone` (`ItineraryFlightSegmentInput.inbound.hiddenStops.airport.timeZone`; any of, required)
              - any of the following: `string`, `null`
          - `arrivalAt` (`ItineraryFlightSegmentInput.inbound.hiddenStops.arrivalAt`; any of, required)
            - any of the following: `string`, `null`
          - `departureAt` (`ItineraryFlightSegmentInput.inbound.hiddenStops.departureAt`; any of, required)
            - any of the following: `string`, `null`
          - `durationMinutes` (`ItineraryFlightSegmentInput.inbound.hiddenStops.durationMinutes`; any of, required)
            - any of the following: `integer`, `null`
        - `legId` (`ItineraryFlightSegmentInput.inbound.legId`; string, optional)
        - `marketingCarrier` (`ItineraryFlightSegmentInput.inbound.marketingCarrier`; object, optional)
          - `conditionsOfCarriageUrl` (`ItineraryFlightSegmentInput.inbound.marketingCarrier.conditionsOfCarriageUrl`; any of, optional)
            - any of the following: `string`, `null`
          - `iataCode` (`ItineraryFlightSegmentInput.inbound.marketingCarrier.iataCode`; any of, optional)
            - default: `null`
            - any of the following: `string`, `null`
          - `logoLockupUrl` (`ItineraryFlightSegmentInput.inbound.marketingCarrier.logoLockupUrl`; any of, optional)
            - any of the following: `string`, `null`
          - `logoSymbolUrl` (`ItineraryFlightSegmentInput.inbound.marketingCarrier.logoSymbolUrl`; any of, optional)
            - any of the following: `string`, `null`
          - `name` (`ItineraryFlightSegmentInput.inbound.marketingCarrier.name`; any of, optional)
            - default: `null`
            - any of the following: `string`, `null`
        - `marketingCarrierFlightNumber` (`ItineraryFlightSegmentInput.inbound.marketingCarrierFlightNumber`; any of, optional)
          - any of the following: `string`, `null`
        - `operatingCarrier` (`ItineraryFlightSegmentInput.inbound.operatingCarrier`; object, optional)
          - `conditionsOfCarriageUrl` (`ItineraryFlightSegmentInput.inbound.operatingCarrier.conditionsOfCarriageUrl`; any of, optional)
            - any of the following: `string`, `null`
          - `iataCode` (`ItineraryFlightSegmentInput.inbound.operatingCarrier.iataCode`; any of, optional)
            - default: `null`
            - any of the following: `string`, `null`
          - `logoLockupUrl` (`ItineraryFlightSegmentInput.inbound.operatingCarrier.logoLockupUrl`; any of, optional)
            - any of the following: `string`, `null`
          - `logoSymbolUrl` (`ItineraryFlightSegmentInput.inbound.operatingCarrier.logoSymbolUrl`; any of, optional)
            - any of the following: `string`, `null`
          - `name` (`ItineraryFlightSegmentInput.inbound.operatingCarrier.name`; any of, optional)
            - default: `null`
            - any of the following: `string`, `null`
        - `operatingCarrierFlightNumber` (`ItineraryFlightSegmentInput.inbound.operatingCarrierFlightNumber`; any of, optional)
          - any of the following: `string`, `null`
        - `providerSegmentReference` (`ItineraryFlightSegmentInput.inbound.providerSegmentReference`; string, optional)
        - `seats` (`ItineraryFlightSegmentInput.inbound.seats`; array of object, optional)
          - `passengerReference` (`ItineraryFlightSegmentInput.inbound.seats.passengerReference`; string, required)
            - minLength: `1`
          - `price` (`ItineraryFlightSegmentInput.inbound.seats.price`; any of, required)
            - any of the following: `Money`, `null`
          - `seatId` (`ItineraryFlightSegmentInput.inbound.seats.seatId`; string, required)
            - minLength: `1`
          - `seatNumber` (`ItineraryFlightSegmentInput.inbound.seats.seatNumber`; string, required)
            - minLength: `1`
        - `services` (`ItineraryFlightSegmentInput.inbound.services`; array of object, optional)
          - `name` (`ItineraryFlightSegmentInput.inbound.services.name`; string, required)
            - minLength: `1`
          - `passengerReferences` (`ItineraryFlightSegmentInput.inbound.services.passengerReferences`; array of string, required)
            - minLength: `1`
          - `price` (`ItineraryFlightSegmentInput.inbound.services.price`; any of, required)
            - any of the following: `Money`, `null`
          - `serviceId` (`ItineraryFlightSegmentInput.inbound.services.serviceId`; string, required)
            - minLength: `1`
          - `status` (`ItineraryFlightSegmentInput.inbound.services.status`; string, required)
            - one of `"CONFIRMED"`, `"ON_REQUEST"`
      - `outbound` (`ItineraryFlightSegmentInput.outbound`; array of object, optional)
        - `departingAt` (`ItineraryFlightSegmentInput.outbound.departingAt`; string, required)
        - `destination` (`ItineraryFlightSegmentInput.outbound.destination`; object, required)
          - `address` (`ItineraryFlightSegmentInput.outbound.destination.address`; any of, optional)
            - any of the following: `string`, `null`
          - `amenities` (`ItineraryFlightSegmentInput.outbound.destination.amenities`; array of string, optional)
          - `city` (`ItineraryFlightSegmentInput.outbound.destination.city`; any of, optional)
            - any of the following: `string`, `null`
          - `country` (`ItineraryFlightSegmentInput.outbound.destination.country`; string, optional)
          - `countryCode` (`ItineraryFlightSegmentInput.outbound.destination.countryCode`; string, optional)
          - `description` (`ItineraryFlightSegmentInput.outbound.destination.description`; string, optional)
          - `distanceFromSearch` (`ItineraryFlightSegmentInput.outbound.destination.distanceFromSearch`; object, optional)
            - `unit` (`ItineraryFlightSegmentInput.outbound.destination.distanceFromSearch.unit`; string, required)
              - one of `"km"`, `"mi"`
            - `value` (`ItineraryFlightSegmentInput.outbound.destination.distanceFromSearch.value`; number, required)
          - `features` (`ItineraryFlightSegmentInput.outbound.destination.features`; array of string, optional)
          - `fullAddress` (`ItineraryFlightSegmentInput.outbound.destination.fullAddress`; string, optional)
          - `gate` (`ItineraryFlightSegmentInput.outbound.destination.gate`; any of, optional)
            - any of the following: `string`, `null`
          - `iataCode` (`ItineraryFlightSegmentInput.outbound.destination.iataCode`; any of, optional)
            - any of the following: `string`, `null`
          - `internovaId` (`ItineraryFlightSegmentInput.outbound.destination.internovaId`; string, optional)
          - `latitude` (`ItineraryFlightSegmentInput.outbound.destination.latitude`; number, optional)
          - `longitude` (`ItineraryFlightSegmentInput.outbound.destination.longitude`; number, optional)
          - `name` (`ItineraryFlightSegmentInput.outbound.destination.name`; string, optional)
          - `photos` (`ItineraryFlightSegmentInput.outbound.destination.photos`; array of object, optional)
            - `name` (`ItineraryFlightSegmentInput.outbound.destination.photos.name`; string, required)
            - `key` (`ItineraryFlightSegmentInput.outbound.destination.photos.key`; string, optional)
            - `url` (`ItineraryFlightSegmentInput.outbound.destination.photos.url`; string, optional)
          - `placeId` (`ItineraryFlightSegmentInput.outbound.destination.placeId`; string, optional)
          - `region` (`ItineraryFlightSegmentInput.outbound.destination.region`; string, optional)
          - `source` (`ItineraryFlightSegmentInput.outbound.destination.source`; string, optional)
          - `state` (`ItineraryFlightSegmentInput.outbound.destination.state`; any of, optional)
            - any of the following: `string`, `null`
          - `terminal` (`ItineraryFlightSegmentInput.outbound.destination.terminal`; any of, optional)
            - any of the following: `string`, `null`
          - `timeZone` (`ItineraryFlightSegmentInput.outbound.destination.timeZone`; string, optional)
          - `zipCode` (`ItineraryFlightSegmentInput.outbound.destination.zipCode`; any of, optional)
            - any of the following: `string`, `null`
        - `origin` (`ItineraryFlightSegmentInput.outbound.origin`; object, required)
          - `address` (`ItineraryFlightSegmentInput.outbound.origin.address`; any of, optional)
            - any of the following: `string`, `null`
          - `amenities` (`ItineraryFlightSegmentInput.outbound.origin.amenities`; array of string, optional)
          - `city` (`ItineraryFlightSegmentInput.outbound.origin.city`; any of, optional)
            - any of the following: `string`, `null`
          - `country` (`ItineraryFlightSegmentInput.outbound.origin.country`; string, optional)
          - `countryCode` (`ItineraryFlightSegmentInput.outbound.origin.countryCode`; string, optional)
          - `description` (`ItineraryFlightSegmentInput.outbound.origin.description`; string, optional)
          - `distanceFromSearch` (`ItineraryFlightSegmentInput.outbound.origin.distanceFromSearch`; object, optional)
            - `unit` (`ItineraryFlightSegmentInput.outbound.origin.distanceFromSearch.unit`; string, required)
              - one of `"km"`, `"mi"`
            - `value` (`ItineraryFlightSegmentInput.outbound.origin.distanceFromSearch.value`; number, required)
          - `features` (`ItineraryFlightSegmentInput.outbound.origin.features`; array of string, optional)
          - `fullAddress` (`ItineraryFlightSegmentInput.outbound.origin.fullAddress`; string, optional)
          - `gate` (`ItineraryFlightSegmentInput.outbound.origin.gate`; any of, optional)
            - any of the following: `string`, `null`
          - `iataCode` (`ItineraryFlightSegmentInput.outbound.origin.iataCode`; any of, optional)
            - any of the following: `string`, `null`
          - `internovaId` (`ItineraryFlightSegmentInput.outbound.origin.internovaId`; string, optional)
          - `latitude` (`ItineraryFlightSegmentInput.outbound.origin.latitude`; number, optional)
          - `longitude` (`ItineraryFlightSegmentInput.outbound.origin.longitude`; number, optional)
          - `name` (`ItineraryFlightSegmentInput.outbound.origin.name`; string, optional)
          - `photos` (`ItineraryFlightSegmentInput.outbound.origin.photos`; array of object, optional)
            - `name` (`ItineraryFlightSegmentInput.outbound.origin.photos.name`; string, required)
            - `key` (`ItineraryFlightSegmentInput.outbound.origin.photos.key`; string, optional)
            - `url` (`ItineraryFlightSegmentInput.outbound.origin.photos.url`; string, optional)
          - `placeId` (`ItineraryFlightSegmentInput.outbound.origin.placeId`; string, optional)
          - `region` (`ItineraryFlightSegmentInput.outbound.origin.region`; string, optional)
          - `source` (`ItineraryFlightSegmentInput.outbound.origin.source`; string, optional)
          - `state` (`ItineraryFlightSegmentInput.outbound.origin.state`; any of, optional)
            - any of the following: `string`, `null`
          - `terminal` (`ItineraryFlightSegmentInput.outbound.origin.terminal`; any of, optional)
            - any of the following: `string`, `null`
          - `timeZone` (`ItineraryFlightSegmentInput.outbound.origin.timeZone`; string, optional)
          - `zipCode` (`ItineraryFlightSegmentInput.outbound.origin.zipCode`; any of, optional)
            - any of the following: `string`, `null`
        - `aircraft` (`ItineraryFlightSegmentInput.outbound.aircraft`; any of, optional)
          - any of the following: `string`, `null`
        - `arrivingAt` (`ItineraryFlightSegmentInput.outbound.arrivingAt`; any of, optional)
          - default: `null`
          - any of the following: `string`, `null`
        - `baggage` (`ItineraryFlightSegmentInput.outbound.baggage`; array of object, optional)
          - `passengerReference` (`ItineraryFlightSegmentInput.outbound.baggage.passengerReference`; string, required)
            - minLength: `1`
          - `pieces` (`ItineraryFlightSegmentInput.outbound.baggage.pieces`; any of, required)
            - any of the following: `integer`, `null`
          - `serviceId` (`ItineraryFlightSegmentInput.outbound.baggage.serviceId`; string, required)
            - minLength: `1`
          - `status` (`ItineraryFlightSegmentInput.outbound.baggage.status`; string, required)
            - one of `"AVAILABLE"`, `"NOT_REQUESTED"`, `"NOT_SUPPORTED"`
          - `type` (`ItineraryFlightSegmentInput.outbound.baggage.type`; string, required)
            - one of `"CARRY_ON"`, `"CHECKED"`
          - `weight` (`ItineraryFlightSegmentInput.outbound.baggage.weight`; any of, required)
            - any of the following: `BaggageWeight`, `null`
          - `description` (`ItineraryFlightSegmentInput.outbound.baggage.description`; any of, optional)
            - any of the following: `string`, `null`
          - `size` (`ItineraryFlightSegmentInput.outbound.baggage.size`; any of, optional)
            - any of the following: `BaggageSize`, `null`
        - `bookingClass` (`ItineraryFlightSegmentInput.outbound.bookingClass`; any of, optional)
          - any of the following: `string`, `null`
        - `brand` (`ItineraryFlightSegmentInput.outbound.brand`; any of, optional)
          - any of the following:
            - `object`
              - `code` (`ItineraryFlightSegmentInput.outbound.brand.1.code`; string, required)
              - `name` (`ItineraryFlightSegmentInput.outbound.brand.1.name`; string, required)
            - `null`
        - `cabin` (`ItineraryFlightSegmentInput.outbound.cabin`; string, optional)
          - one of `"BUSINESS"`, `"ECONOMY"`, `"FIRST"`, `"PREMIUM_ECONOMY"`
        - `distance` (`ItineraryFlightSegmentInput.outbound.distance`; any of, optional)
          - any of the following: `string`, `null`
        - `duration` (`ItineraryFlightSegmentInput.outbound.duration`; any of, optional)
          - any of the following: `string`, `null`
        - `explicitNoFlightNumber` (`ItineraryFlightSegmentInput.outbound.explicitNoFlightNumber`; any of, optional)
          - any of the following: `boolean`, `null`
        - `fareBasisCode` (`ItineraryFlightSegmentInput.outbound.fareBasisCode`; any of, optional)
          - any of the following: `string`, `null`
        - `hiddenStops` (`ItineraryFlightSegmentInput.outbound.hiddenStops`; array of object, optional)
          - `airport` (`ItineraryFlightSegmentInput.outbound.hiddenStops.airport`; object, required)
            - `city` (`ItineraryFlightSegmentInput.outbound.hiddenStops.airport.city`; any of, required)
              - any of the following: `string`, `null`
            - `countryCode` (`ItineraryFlightSegmentInput.outbound.hiddenStops.airport.countryCode`; any of, required)
              - any of the following: `CountryCode`, `null`
            - `iataCode` (`ItineraryFlightSegmentInput.outbound.hiddenStops.airport.iataCode`; string, required)
              - pattern: `^[A-Z]{3}$`
            - `name` (`ItineraryFlightSegmentInput.outbound.hiddenStops.airport.name`; any of, required)
              - any of the following: `string`, `null`
            - `timeZone` (`ItineraryFlightSegmentInput.outbound.hiddenStops.airport.timeZone`; any of, required)
              - any of the following: `string`, `null`
          - `arrivalAt` (`ItineraryFlightSegmentInput.outbound.hiddenStops.arrivalAt`; any of, required)
            - any of the following: `string`, `null`
          - `departureAt` (`ItineraryFlightSegmentInput.outbound.hiddenStops.departureAt`; any of, required)
            - any of the following: `string`, `null`
          - `durationMinutes` (`ItineraryFlightSegmentInput.outbound.hiddenStops.durationMinutes`; any of, required)
            - any of the following: `integer`, `null`
        - `legId` (`ItineraryFlightSegmentInput.outbound.legId`; string, optional)
        - `marketingCarrier` (`ItineraryFlightSegmentInput.outbound.marketingCarrier`; object, optional)
          - `conditionsOfCarriageUrl` (`ItineraryFlightSegmentInput.outbound.marketingCarrier.conditionsOfCarriageUrl`; any of, optional)
            - any of the following: `string`, `null`
          - `iataCode` (`ItineraryFlightSegmentInput.outbound.marketingCarrier.iataCode`; any of, optional)
            - default: `null`
            - any of the following: `string`, `null`
          - `logoLockupUrl` (`ItineraryFlightSegmentInput.outbound.marketingCarrier.logoLockupUrl`; any of, optional)
            - any of the following: `string`, `null`
          - `logoSymbolUrl` (`ItineraryFlightSegmentInput.outbound.marketingCarrier.logoSymbolUrl`; any of, optional)
            - any of the following: `string`, `null`
          - `name` (`ItineraryFlightSegmentInput.outbound.marketingCarrier.name`; any of, optional)
            - default: `null`
            - any of the following: `string`, `null`
        - `marketingCarrierFlightNumber` (`ItineraryFlightSegmentInput.outbound.marketingCarrierFlightNumber`; any of, optional)
          - any of the following: `string`, `null`
        - `operatingCarrier` (`ItineraryFlightSegmentInput.outbound.operatingCarrier`; object, optional)
          - `conditionsOfCarriageUrl` (`ItineraryFlightSegmentInput.outbound.operatingCarrier.conditionsOfCarriageUrl`; any of, optional)
            - any of the following: `string`, `null`
          - `iataCode` (`ItineraryFlightSegmentInput.outbound.operatingCarrier.iataCode`; any of, optional)
            - default: `null`
            - any of the following: `string`, `null`
          - `logoLockupUrl` (`ItineraryFlightSegmentInput.outbound.operatingCarrier.logoLockupUrl`; any of, optional)
            - any of the following: `string`, `null`
          - `logoSymbolUrl` (`ItineraryFlightSegmentInput.outbound.operatingCarrier.logoSymbolUrl`; any of, optional)
            - any of the following: `string`, `null`
          - `name` (`ItineraryFlightSegmentInput.outbound.operatingCarrier.name`; any of, optional)
            - default: `null`
            - any of the following: `string`, `null`
        - `operatingCarrierFlightNumber` (`ItineraryFlightSegmentInput.outbound.operatingCarrierFlightNumber`; any of, optional)
          - any of the following: `string`, `null`
        - `providerSegmentReference` (`ItineraryFlightSegmentInput.outbound.providerSegmentReference`; string, optional)
        - `seats` (`ItineraryFlightSegmentInput.outbound.seats`; array of object, optional)
          - `passengerReference` (`ItineraryFlightSegmentInput.outbound.seats.passengerReference`; string, required)
            - minLength: `1`
          - `price` (`ItineraryFlightSegmentInput.outbound.seats.price`; any of, required)
            - any of the following: `Money`, `null`
          - `seatId` (`ItineraryFlightSegmentInput.outbound.seats.seatId`; string, required)
            - minLength: `1`
          - `seatNumber` (`ItineraryFlightSegmentInput.outbound.seats.seatNumber`; string, required)
            - minLength: `1`
        - `services` (`ItineraryFlightSegmentInput.outbound.services`; array of object, optional)
          - `name` (`ItineraryFlightSegmentInput.outbound.services.name`; string, required)
            - minLength: `1`
          - `passengerReferences` (`ItineraryFlightSegmentInput.outbound.services.passengerReferences`; array of string, required)
            - minLength: `1`
          - `price` (`ItineraryFlightSegmentInput.outbound.services.price`; any of, required)
            - any of the following: `Money`, `null`
          - `serviceId` (`ItineraryFlightSegmentInput.outbound.services.serviceId`; string, required)
            - minLength: `1`
          - `status` (`ItineraryFlightSegmentInput.outbound.services.status`; string, required)
            - one of `"CONFIRMED"`, `"ON_REQUEST"`
      - `owner` (`ItineraryFlightSegmentInput.owner`; object, optional)
        - `code` (`ItineraryFlightSegmentInput.owner.code`; string, required)
          - pattern: `^[A-Z0-9]{2,3}$`
        - `name` (`ItineraryFlightSegmentInput.owner.name`; any of, required)
          - any of the following: `string`, `null`
        - `logoAssetReference` (`ItineraryFlightSegmentInput.owner.logoAssetReference`; any of, optional)
          - any of the following: `string`, `null`
      - `passengers` (`ItineraryFlightSegmentInput.passengers`; array of object, optional)
        - `count` (`ItineraryFlightSegmentInput.passengers.count`; integer, required)
          - maximum: `9007199254740991`
        - `totalMinor` (`ItineraryFlightSegmentInput.passengers.totalMinor`; any of, required)
          - any of the following: `integer`, `null`
        - `type` (`ItineraryFlightSegmentInput.passengers.type`; string, required)
          - one of `"ADULT"`, `"CHILD"`, `"INFANT"`
      - `policies` (`ItineraryFlightSegmentInput.policies`; array of object, optional)
        - `allowed` (`ItineraryFlightSegmentInput.policies.allowed`; any of, required)
          - any of the following: `boolean`, `null`
        - `deadline` (`ItineraryFlightSegmentInput.policies.deadline`; any of, required)
          - any of the following: `string`, `null`
        - `exactCopy` (`ItineraryFlightSegmentInput.policies.exactCopy`; string, required)
          - minLength: `1`
        - `kind` (`ItineraryFlightSegmentInput.policies.kind`; string, required)
          - one of `"CANCELLATION"`, `"CHANGE"`, `"DEPOSIT"`, `"GUARANTEE"`, `"NO_SHOW"`, `"PAY_AT_PROPERTY"`
        - `penalties` (`ItineraryFlightSegmentInput.policies.penalties`; array of object, required)
          - `amount` (`ItineraryFlightSegmentInput.policies.penalties.amount`; any of, required)
            - any of the following: `Money`, `null`
          - `from` (`ItineraryFlightSegmentInput.policies.penalties.from`; any of, required)
            - any of the following: `string`, `null`
          - `summary` (`ItineraryFlightSegmentInput.policies.penalties.summary`; string, required)
            - minLength: `1`
      - `priceSnapshot` (`ItineraryFlightSegmentInput.priceSnapshot`; object, optional)
        - `baseMinor` (`ItineraryFlightSegmentInput.priceSnapshot.baseMinor`; any of, required)
          - any of the following: `integer`, `null`
        - `collector` (`ItineraryFlightSegmentInput.priceSnapshot.collector`; string, required)
          - one of `"MULTIPLE"`, `"NICER"`, `"PROPERTY"`, `"PROVIDER"`, `"UNKNOWN"`
        - `currency` (`ItineraryFlightSegmentInput.priceSnapshot.currency`; string, required)
          - pattern: `^[A-Z]{3}$`
        - `depositMinor` (`ItineraryFlightSegmentInput.priceSnapshot.depositMinor`; any of, required)
          - any of the following: `integer`, `null`
        - `discounts` (`ItineraryFlightSegmentInput.priceSnapshot.discounts`; array of object, required)
          - `amountMinor` (`ItineraryFlightSegmentInput.priceSnapshot.discounts.amountMinor`; integer, required)
            - maximum: `9007199254740991` · minimum: `0`
          - `code` (`ItineraryFlightSegmentInput.priceSnapshot.discounts.code`; string, required)
            - minLength: `1`
          - `label` (`ItineraryFlightSegmentInput.priceSnapshot.discounts.label`; string, required)
            - minLength: `1`
        - `dueAtPropertyMinor` (`ItineraryFlightSegmentInput.priceSnapshot.dueAtPropertyMinor`; integer, required)
          - maximum: `9007199254740991` · minimum: `0`
        - `dueLaterMinor` (`ItineraryFlightSegmentInput.priceSnapshot.dueLaterMinor`; integer, required)
          - maximum: `9007199254740991` · minimum: `0`
        - `dueNowMinor` (`ItineraryFlightSegmentInput.priceSnapshot.dueNowMinor`; integer, required)
          - maximum: `9007199254740991` · minimum: `0`
        - `fees` (`ItineraryFlightSegmentInput.priceSnapshot.fees`; array of object, required)
          - `amountMinor` (`ItineraryFlightSegmentInput.priceSnapshot.fees.amountMinor`; integer, required)
            - maximum: `9007199254740991` · minimum: `0`
          - `code` (`ItineraryFlightSegmentInput.priceSnapshot.fees.code`; string, required)
            - minLength: `1`
          - `label` (`ItineraryFlightSegmentInput.priceSnapshot.fees.label`; string, required)
            - minLength: `1`
        - `lineItems` (`ItineraryFlightSegmentInput.priceSnapshot.lineItems`; array of object, required)
          - `amountMinor` (`ItineraryFlightSegmentInput.priceSnapshot.lineItems.amountMinor`; integer, required)
            - maximum: `9007199254740991` · minimum: `0`
          - `code` (`ItineraryFlightSegmentInput.priceSnapshot.lineItems.code`; string, required)
            - minLength: `1`
          - `label` (`ItineraryFlightSegmentInput.priceSnapshot.lineItems.label`; string, required)
            - minLength: `1`
        - `taxes` (`ItineraryFlightSegmentInput.priceSnapshot.taxes`; array of object, required)
          - `amountMinor` (`ItineraryFlightSegmentInput.priceSnapshot.taxes.amountMinor`; integer, required)
            - maximum: `9007199254740991` · minimum: `0`
          - `code` (`ItineraryFlightSegmentInput.priceSnapshot.taxes.code`; string, required)
            - minLength: `1`
          - `label` (`ItineraryFlightSegmentInput.priceSnapshot.taxes.label`; string, required)
            - minLength: `1`
        - `totalMinor` (`ItineraryFlightSegmentInput.priceSnapshot.totalMinor`; integer, required)
          - maximum: `9007199254740991` · minimum: `0`
      - `rules` (`ItineraryFlightSegmentInput.rules`; object, optional) — What changing or canceling costs before departure and, when filed, after it.
        - `cancellation` (`ItineraryFlightSegmentInput.rules.cancellation`; object, required)
          - `allowed` (`ItineraryFlightSegmentInput.rules.cancellation.allowed`; any of, required)
            - any of the following: `boolean`, `null`
          - `deadline` (`ItineraryFlightSegmentInput.rules.cancellation.deadline`; any of, required)
            - any of the following: `string`, `null`
          - `penalty` (`ItineraryFlightSegmentInput.rules.cancellation.penalty`; any of, required)
            - any of the following: `Money`, `null`
          - `summary` (`ItineraryFlightSegmentInput.rules.cancellation.summary`; any of, required)
            - any of the following: `string`, `null`
          - `penaltyRange` (`ItineraryFlightSegmentInput.rules.cancellation.penaltyRange`; any of, optional)
            - any of the following:
              - `object`
                - `currency` (`ItineraryFlightSegmentInput.rules.cancellation.penaltyRange.1.currency`; string, required)
                  - pattern: `^[A-Z]{3}$`
                - `maximumAmountMinor` (`ItineraryFlightSegmentInput.rules.cancellation.penaltyRange.1.maximumAmountMinor`; integer, required)
                  - maximum: `9007199254740991` · minimum: `0`
                - `minimumAmountMinor` (`ItineraryFlightSegmentInput.rules.cancellation.penaltyRange.1.minimumAmountMinor`; integer, required)
                  - maximum: `9007199254740991` · minimum: `0`
              - `null`
        - `change` (`ItineraryFlightSegmentInput.rules.change`; object, required)
          - `allowed` (`ItineraryFlightSegmentInput.rules.change.allowed`; any of, required)
            - any of the following: `boolean`, `null`
          - `deadline` (`ItineraryFlightSegmentInput.rules.change.deadline`; any of, required)
            - any of the following: `string`, `null`
          - `penalty` (`ItineraryFlightSegmentInput.rules.change.penalty`; any of, required)
            - any of the following: `Money`, `null`
          - `summary` (`ItineraryFlightSegmentInput.rules.change.summary`; any of, required)
            - any of the following: `string`, `null`
          - `penaltyRange` (`ItineraryFlightSegmentInput.rules.change.penaltyRange`; any of, optional)
            - any of the following:
              - `object`
                - `currency` (`ItineraryFlightSegmentInput.rules.change.penaltyRange.1.currency`; string, required)
                  - pattern: `^[A-Z]{3}$`
                - `maximumAmountMinor` (`ItineraryFlightSegmentInput.rules.change.penaltyRange.1.maximumAmountMinor`; integer, required)
                  - maximum: `9007199254740991` · minimum: `0`
                - `minimumAmountMinor` (`ItineraryFlightSegmentInput.rules.change.penaltyRange.1.minimumAmountMinor`; integer, required)
                  - maximum: `9007199254740991` · minimum: `0`
              - `null`
        - `afterDeparture` (`ItineraryFlightSegmentInput.rules.afterDeparture`; object, optional)
          - `cancellation` (`ItineraryFlightSegmentInput.rules.afterDeparture.cancellation`; object, required)
            - `allowed` (`ItineraryFlightSegmentInput.rules.afterDeparture.cancellation.allowed`; any of, required)
              - any of the following: `boolean`, `null`
            - `deadline` (`ItineraryFlightSegmentInput.rules.afterDeparture.cancellation.deadline`; any of, required)
              - any of the following: `string`, `null`
            - `penalty` (`ItineraryFlightSegmentInput.rules.afterDeparture.cancellation.penalty`; any of, required)
              - any of the following: `Money`, `null`
            - `summary` (`ItineraryFlightSegmentInput.rules.afterDeparture.cancellation.summary`; any of, required)
              - any of the following: `string`, `null`
            - `penaltyRange` (`ItineraryFlightSegmentInput.rules.afterDeparture.cancellation.penaltyRange`; any of, optional)
              - any of the following:
                - `object`
                  - `currency` (`ItineraryFlightSegmentInput.rules.afterDeparture.cancellation.penaltyRange.1.currency`; string, required)
                    - pattern: `^[A-Z]{3}$`
                  - `maximumAmountMinor` (`ItineraryFlightSegmentInput.rules.afterDeparture.cancellation.penaltyRange.1.maximumAmountMinor`; integer, required)
                    - maximum: `9007199254740991` · minimum: `0`
                  - `minimumAmountMinor` (`ItineraryFlightSegmentInput.rules.afterDeparture.cancellation.penaltyRange.1.minimumAmountMinor`; integer, required)
                    - maximum: `9007199254740991` · minimum: `0`
                - `null`
          - `change` (`ItineraryFlightSegmentInput.rules.afterDeparture.change`; object, required)
            - `allowed` (`ItineraryFlightSegmentInput.rules.afterDeparture.change.allowed`; any of, required)
              - any of the following: `boolean`, `null`
            - `deadline` (`ItineraryFlightSegmentInput.rules.afterDeparture.change.deadline`; any of, required)
              - any of the following: `string`, `null`
            - `penalty` (`ItineraryFlightSegmentInput.rules.afterDeparture.change.penalty`; any of, required)
              - any of the following: `Money`, `null`
            - `summary` (`ItineraryFlightSegmentInput.rules.afterDeparture.change.summary`; any of, required)
              - any of the following: `string`, `null`
            - `penaltyRange` (`ItineraryFlightSegmentInput.rules.afterDeparture.change.penaltyRange`; any of, optional)
              - any of the following:
                - `object`
                  - `currency` (`ItineraryFlightSegmentInput.rules.afterDeparture.change.penaltyRange.1.currency`; string, required)
                    - pattern: `^[A-Z]{3}$`
                  - `maximumAmountMinor` (`ItineraryFlightSegmentInput.rules.afterDeparture.change.penaltyRange.1.maximumAmountMinor`; integer, required)
                    - maximum: `9007199254740991` · minimum: `0`
                  - `minimumAmountMinor` (`ItineraryFlightSegmentInput.rules.afterDeparture.change.penaltyRange.1.minimumAmountMinor`; integer, required)
                    - maximum: `9007199254740991` · minimum: `0`
                - `null`
      - `ticketingDeadline` (`ItineraryFlightSegmentInput.ticketingDeadline`; any of, optional)
        - any of the following: `string`, `null`
    - `ItineraryLodgingSegment`
      - `checkinDate` (`ItineraryLodgingSegment.checkinDate`; string, required)
      - `checkoutDate` (`ItineraryLodgingSegment.checkoutDate`; string, required)
      - `lodge` (`ItineraryLodgingSegment.lodge`; object, required)
        - `name` (`ItineraryLodgingSegment.lodge.name`; string, required)
        - `checkin` (`ItineraryLodgingSegment.lodge.checkin`; any of, optional)
          - any of the following: `string`, `null`
        - `checkout` (`ItineraryLodgingSegment.lodge.checkout`; any of, optional)
          - any of the following: `string`, `null`
        - `guests` (`ItineraryLodgingSegment.lodge.guests`; array of string, optional)
        - `rooms` (`ItineraryLodgingSegment.lodge.rooms`; any of, optional)
          - any of the following:
            - `array<unknown>`
              - `adults` (`ItineraryLodgingSegment.lodge.rooms.1.adults`; number, optional)
              - `amenities` (`ItineraryLodgingSegment.lodge.rooms.1.amenities`; array of string, optional)
              - `beds` (`ItineraryLodgingSegment.lodge.rooms.1.beds`; array of string, optional)
              - `category` (`ItineraryLodgingSegment.lodge.rooms.1.category`; any of, optional)
                - any of the following: `string`, `null`
              - `children` (`ItineraryLodgingSegment.lodge.rooms.1.children`; any of, optional)
                - any of the following: `number`, `null`
              - `confirmationNumber` (`ItineraryLodgingSegment.lodge.rooms.1.confirmationNumber`; any of, optional)
                - any of the following: `string`, `null`
              - `description` (`ItineraryLodgingSegment.lodge.rooms.1.description`; any of, optional)
                - any of the following: `string`, `null`
              - `gdslocator` (`ItineraryLodgingSegment.lodge.rooms.1.gdslocator`; any of, optional)
                - any of the following: `string`, `null`
              - `guests` (`ItineraryLodgingSegment.lodge.rooms.1.guests`; string, optional)
              - `image` (`ItineraryLodgingSegment.lodge.rooms.1.image`; any of, optional)
                - any of the following: `string`, `null`
              - `name` (`ItineraryLodgingSegment.lodge.rooms.1.name`; any of, optional)
                - any of the following: `string`, `null`
              - `policies` (`ItineraryLodgingSegment.lodge.rooms.1.policies`; any of, optional)
                - any of the following:
                  - `object`
                    - `breakfast` (`ItineraryLodgingSegment.lodge.rooms.1.policies.1.breakfast`; any of, optional)
                      - any of the following: `string`, `null`
                    - `deadline` (`ItineraryLodgingSegment.lodge.rooms.1.policies.1.deadline`; any of, optional)
                      - any of the following: `string`, `null`
                    - `refund` (`ItineraryLodgingSegment.lodge.rooms.1.policies.1.refund`; any of, optional)
                      - any of the following: `string`, `null`
                    - `summary` (`ItineraryLodgingSegment.lodge.rooms.1.policies.1.summary`; any of, optional)
                      - any of the following: `string`, `null`
                  - `null`
              - `ratePlanCode` (`ItineraryLodgingSegment.lodge.rooms.1.ratePlanCode`; any of, optional)
                - any of the following: `string`, `null`
              - `travelers` (`ItineraryLodgingSegment.lodge.rooms.1.travelers`; array of string, optional)
            - `null`
        - `stars` (`ItineraryLodgingSegment.lodge.stars`; number, optional)
        - `status` (`ItineraryLodgingSegment.lodge.status`; string, optional)
          - one of `"proposed"`, `"hold"`, `"booked"`, `"cancelled"`
      - `location` (`ItineraryLodgingSegment.location`; any of, optional)
        - any of the following: `Location`, `null`
      - `title` (`ItineraryLodgingSegment.title`; any of, optional)
        - any of the following: `string`, `null`
      - `bookingOccupancy` (`ItineraryLodgingSegment.bookingOccupancy`; object, optional)
        - `rooms` (`ItineraryLodgingSegment.bookingOccupancy.rooms`; array of object, required)
          - `adults` (`ItineraryLodgingSegment.bookingOccupancy.rooms.adults`; integer, required)
            - maximum: `8` · minimum: `1`
          - `children` (`ItineraryLodgingSegment.bookingOccupancy.rooms.children`; integer, required)
            - maximum: `6` · minimum: `0`
          - `childrenAges` (`ItineraryLodgingSegment.bookingOccupancy.rooms.childrenAges`; array of integer, required)
            - maximum: `17` · minimum: `0`
      - `commercialSnapshot` (`ItineraryLodgingSegment.commercialSnapshot`; object, optional) — Expected supplier commission, advisor earning and traveler reward, with their calculation inputs, as quoted. Answered only to the agency's own advisors and admins and to Nicer staff; absent for travelers and anonymous readers.
        - `calculationInputs` (`ItineraryLodgingSegment.commercialSnapshot.calculationInputs`; map of any of, required)
        - `expectedAdvisorEarning` (`ItineraryLodgingSegment.commercialSnapshot.expectedAdvisorEarning`; any of, required)
          - any of the following:
            - `object`
              - `amountMinor` (`ItineraryLodgingSegment.commercialSnapshot.expectedAdvisorEarning.1.amountMinor`; integer, required)
                - maximum: `9007199254740991` · minimum: `0`
              - `currency` (`ItineraryLodgingSegment.commercialSnapshot.expectedAdvisorEarning.1.currency`; string, required)
                - pattern: `^[A-Z]{3}$`
              - `basis` (`ItineraryLodgingSegment.commercialSnapshot.expectedAdvisorEarning.1.basis`; any of, required)
                - any of the following: `string`, `null`
              - `rateBps` (`ItineraryLodgingSegment.commercialSnapshot.expectedAdvisorEarning.1.rateBps`; any of, required)
                - any of the following: `integer`, `null`
            - `null`
        - `expectedSupplierCommission` (`ItineraryLodgingSegment.commercialSnapshot.expectedSupplierCommission`; any of, required)
          - any of the following:
            - `object`
              - `amountMinor` (`ItineraryLodgingSegment.commercialSnapshot.expectedSupplierCommission.1.amountMinor`; integer, required)
                - maximum: `9007199254740991` · minimum: `0`
              - `currency` (`ItineraryLodgingSegment.commercialSnapshot.expectedSupplierCommission.1.currency`; string, required)
                - pattern: `^[A-Z]{3}$`
              - `basis` (`ItineraryLodgingSegment.commercialSnapshot.expectedSupplierCommission.1.basis`; any of, required)
                - any of the following: `string`, `null`
              - `rateBps` (`ItineraryLodgingSegment.commercialSnapshot.expectedSupplierCommission.1.rateBps`; any of, required)
                - any of the following: `integer`, `null`
            - `null`
        - `expectedTravelerReward` (`ItineraryLodgingSegment.commercialSnapshot.expectedTravelerReward`; any of, required)
          - any of the following:
            - `object`
              - `amountMinor` (`ItineraryLodgingSegment.commercialSnapshot.expectedTravelerReward.1.amountMinor`; integer, required)
                - maximum: `9007199254740991` · minimum: `0`
              - `currency` (`ItineraryLodgingSegment.commercialSnapshot.expectedTravelerReward.1.currency`; string, required)
                - pattern: `^[A-Z]{3}$`
              - `basis` (`ItineraryLodgingSegment.commercialSnapshot.expectedTravelerReward.1.basis`; any of, required)
                - any of the following: `string`, `null`
              - `rateBps` (`ItineraryLodgingSegment.commercialSnapshot.expectedTravelerReward.1.rateBps`; any of, required)
                - any of the following: `integer`, `null`
            - `null`
        - `policyVersion` (`ItineraryLodgingSegment.commercialSnapshot.policyVersion`; string, required)
          - minLength: `1`
    - `ItineraryCarRentalSegment`
      - `dropoff` (`ItineraryCarRentalSegment.dropoff`; object, required)
        - `address` (`ItineraryCarRentalSegment.dropoff.address`; any of, optional)
          - any of the following: `string`, `null`
        - `amenities` (`ItineraryCarRentalSegment.dropoff.amenities`; array of string, optional)
        - `city` (`ItineraryCarRentalSegment.dropoff.city`; any of, optional)
          - any of the following: `string`, `null`
        - `country` (`ItineraryCarRentalSegment.dropoff.country`; string, optional)
        - `countryCode` (`ItineraryCarRentalSegment.dropoff.countryCode`; string, optional)
        - `description` (`ItineraryCarRentalSegment.dropoff.description`; string, optional)
        - `distanceFromSearch` (`ItineraryCarRentalSegment.dropoff.distanceFromSearch`; object, optional)
          - `unit` (`ItineraryCarRentalSegment.dropoff.distanceFromSearch.unit`; string, required)
            - one of `"km"`, `"mi"`
          - `value` (`ItineraryCarRentalSegment.dropoff.distanceFromSearch.value`; number, required)
        - `features` (`ItineraryCarRentalSegment.dropoff.features`; array of string, optional)
        - `fullAddress` (`ItineraryCarRentalSegment.dropoff.fullAddress`; string, optional)
        - `gate` (`ItineraryCarRentalSegment.dropoff.gate`; any of, optional)
          - any of the following: `string`, `null`
        - `iataCode` (`ItineraryCarRentalSegment.dropoff.iataCode`; any of, optional)
          - any of the following: `string`, `null`
        - `internovaId` (`ItineraryCarRentalSegment.dropoff.internovaId`; string, optional)
        - `latitude` (`ItineraryCarRentalSegment.dropoff.latitude`; number, optional)
        - `longitude` (`ItineraryCarRentalSegment.dropoff.longitude`; number, optional)
        - `name` (`ItineraryCarRentalSegment.dropoff.name`; string, optional)
        - `photos` (`ItineraryCarRentalSegment.dropoff.photos`; array of object, optional)
          - `name` (`ItineraryCarRentalSegment.dropoff.photos.name`; string, required)
          - `key` (`ItineraryCarRentalSegment.dropoff.photos.key`; string, optional)
          - `url` (`ItineraryCarRentalSegment.dropoff.photos.url`; string, optional)
        - `placeId` (`ItineraryCarRentalSegment.dropoff.placeId`; string, optional)
        - `region` (`ItineraryCarRentalSegment.dropoff.region`; string, optional)
        - `source` (`ItineraryCarRentalSegment.dropoff.source`; string, optional)
        - `state` (`ItineraryCarRentalSegment.dropoff.state`; any of, optional)
          - any of the following: `string`, `null`
        - `terminal` (`ItineraryCarRentalSegment.dropoff.terminal`; any of, optional)
          - any of the following: `string`, `null`
        - `timeZone` (`ItineraryCarRentalSegment.dropoff.timeZone`; string, optional)
        - `zipCode` (`ItineraryCarRentalSegment.dropoff.zipCode`; any of, optional)
          - any of the following: `string`, `null`
      - `pickup` (`ItineraryCarRentalSegment.pickup`; object, required)
        - `address` (`ItineraryCarRentalSegment.pickup.address`; any of, optional)
          - any of the following: `string`, `null`
        - `amenities` (`ItineraryCarRentalSegment.pickup.amenities`; array of string, optional)
        - `city` (`ItineraryCarRentalSegment.pickup.city`; any of, optional)
          - any of the following: `string`, `null`
        - `country` (`ItineraryCarRentalSegment.pickup.country`; string, optional)
        - `countryCode` (`ItineraryCarRentalSegment.pickup.countryCode`; string, optional)
        - `description` (`ItineraryCarRentalSegment.pickup.description`; string, optional)
        - `distanceFromSearch` (`ItineraryCarRentalSegment.pickup.distanceFromSearch`; object, optional)
          - `unit` (`ItineraryCarRentalSegment.pickup.distanceFromSearch.unit`; string, required)
            - one of `"km"`, `"mi"`
          - `value` (`ItineraryCarRentalSegment.pickup.distanceFromSearch.value`; number, required)
        - `features` (`ItineraryCarRentalSegment.pickup.features`; array of string, optional)
        - `fullAddress` (`ItineraryCarRentalSegment.pickup.fullAddress`; string, optional)
        - `gate` (`ItineraryCarRentalSegment.pickup.gate`; any of, optional)
          - any of the following: `string`, `null`
        - `iataCode` (`ItineraryCarRentalSegment.pickup.iataCode`; any of, optional)
          - any of the following: `string`, `null`
        - `internovaId` (`ItineraryCarRentalSegment.pickup.internovaId`; string, optional)
        - `latitude` (`ItineraryCarRentalSegment.pickup.latitude`; number, optional)
        - `longitude` (`ItineraryCarRentalSegment.pickup.longitude`; number, optional)
        - `name` (`ItineraryCarRentalSegment.pickup.name`; string, optional)
        - `photos` (`ItineraryCarRentalSegment.pickup.photos`; array of object, optional)
          - `name` (`ItineraryCarRentalSegment.pickup.photos.name`; string, required)
          - `key` (`ItineraryCarRentalSegment.pickup.photos.key`; string, optional)
          - `url` (`ItineraryCarRentalSegment.pickup.photos.url`; string, optional)
        - `placeId` (`ItineraryCarRentalSegment.pickup.placeId`; string, optional)
        - `region` (`ItineraryCarRentalSegment.pickup.region`; string, optional)
        - `source` (`ItineraryCarRentalSegment.pickup.source`; string, optional)
        - `state` (`ItineraryCarRentalSegment.pickup.state`; any of, optional)
          - any of the following: `string`, `null`
        - `terminal` (`ItineraryCarRentalSegment.pickup.terminal`; any of, optional)
          - any of the following: `string`, `null`
        - `timeZone` (`ItineraryCarRentalSegment.pickup.timeZone`; string, optional)
        - `zipCode` (`ItineraryCarRentalSegment.pickup.zipCode`; any of, optional)
          - any of the following: `string`, `null`
      - `location` (`ItineraryCarRentalSegment.location`; any of, optional)
        - any of the following: `Location`, `null`
      - `title` (`ItineraryCarRentalSegment.title`; any of, optional)
        - any of the following: `string`, `null`
      - `carType` (`ItineraryCarRentalSegment.carType`; string, optional)
      - `engine` (`ItineraryCarRentalSegment.engine`; string, optional)
        - one of `"ELECTRIC"`, `"HYBRID"`, `"GASOLINE"`, `"DIESEL"`
      - `insurance` (`ItineraryCarRentalSegment.insurance`; string, optional)
      - `model` (`ItineraryCarRentalSegment.model`; string, optional)
      - `transmission` (`ItineraryCarRentalSegment.transmission`; string, optional)
        - one of `"MANUAL"`, `"AUTOMATIC"`
    - `ItineraryTransportationSegment`
      - `location` (`ItineraryTransportationSegment.location`; any of, optional)
        - any of the following: `Location`, `null`
      - `title` (`ItineraryTransportationSegment.title`; any of, optional)
        - any of the following: `string`, `null`
      - `arrivalDateTime` (`ItineraryTransportationSegment.arrivalDateTime`; string, optional)
      - `arrivalLocation` (`ItineraryTransportationSegment.arrivalLocation`; object, optional)
        - `address` (`ItineraryTransportationSegment.arrivalLocation.address`; any of, optional)
          - any of the following: `string`, `null`
        - `amenities` (`ItineraryTransportationSegment.arrivalLocation.amenities`; array of string, optional)
        - `city` (`ItineraryTransportationSegment.arrivalLocation.city`; any of, optional)
          - any of the following: `string`, `null`
        - `country` (`ItineraryTransportationSegment.arrivalLocation.country`; string, optional)
        - `countryCode` (`ItineraryTransportationSegment.arrivalLocation.countryCode`; string, optional)
        - `description` (`ItineraryTransportationSegment.arrivalLocation.description`; string, optional)
        - `distanceFromSearch` (`ItineraryTransportationSegment.arrivalLocation.distanceFromSearch`; object, optional)
          - `unit` (`ItineraryTransportationSegment.arrivalLocation.distanceFromSearch.unit`; string, required)
            - one of `"km"`, `"mi"`
          - `value` (`ItineraryTransportationSegment.arrivalLocation.distanceFromSearch.value`; number, required)
        - `features` (`ItineraryTransportationSegment.arrivalLocation.features`; array of string, optional)
        - `fullAddress` (`ItineraryTransportationSegment.arrivalLocation.fullAddress`; string, optional)
        - `gate` (`ItineraryTransportationSegment.arrivalLocation.gate`; any of, optional)
          - any of the following: `string`, `null`
        - `iataCode` (`ItineraryTransportationSegment.arrivalLocation.iataCode`; any of, optional)
          - any of the following: `string`, `null`
        - `internovaId` (`ItineraryTransportationSegment.arrivalLocation.internovaId`; string, optional)
        - `latitude` (`ItineraryTransportationSegment.arrivalLocation.latitude`; number, optional)
        - `longitude` (`ItineraryTransportationSegment.arrivalLocation.longitude`; number, optional)
        - `name` (`ItineraryTransportationSegment.arrivalLocation.name`; string, optional)
        - `photos` (`ItineraryTransportationSegment.arrivalLocation.photos`; array of object, optional)
          - `name` (`ItineraryTransportationSegment.arrivalLocation.photos.name`; string, required)
          - `key` (`ItineraryTransportationSegment.arrivalLocation.photos.key`; string, optional)
          - `url` (`ItineraryTransportationSegment.arrivalLocation.photos.url`; string, optional)
        - `placeId` (`ItineraryTransportationSegment.arrivalLocation.placeId`; string, optional)
        - `region` (`ItineraryTransportationSegment.arrivalLocation.region`; string, optional)
        - `source` (`ItineraryTransportationSegment.arrivalLocation.source`; string, optional)
        - `state` (`ItineraryTransportationSegment.arrivalLocation.state`; any of, optional)
          - any of the following: `string`, `null`
        - `terminal` (`ItineraryTransportationSegment.arrivalLocation.terminal`; any of, optional)
          - any of the following: `string`, `null`
        - `timeZone` (`ItineraryTransportationSegment.arrivalLocation.timeZone`; string, optional)
        - `zipCode` (`ItineraryTransportationSegment.arrivalLocation.zipCode`; any of, optional)
          - any of the following: `string`, `null`
      - `arrivalTimezone` (`ItineraryTransportationSegment.arrivalTimezone`; string, optional)
      - `departureDateTime` (`ItineraryTransportationSegment.departureDateTime`; string, optional)
      - `departureLocation` (`ItineraryTransportationSegment.departureLocation`; object, optional)
        - `address` (`ItineraryTransportationSegment.departureLocation.address`; any of, optional)
          - any of the following: `string`, `null`
        - `amenities` (`ItineraryTransportationSegment.departureLocation.amenities`; array of string, optional)
        - `city` (`ItineraryTransportationSegment.departureLocation.city`; any of, optional)
          - any of the following: `string`, `null`
        - `country` (`ItineraryTransportationSegment.departureLocation.country`; string, optional)
        - `countryCode` (`ItineraryTransportationSegment.departureLocation.countryCode`; string, optional)
        - `description` (`ItineraryTransportationSegment.departureLocation.description`; string, optional)
        - `distanceFromSearch` (`ItineraryTransportationSegment.departureLocation.distanceFromSearch`; object, optional)
          - `unit` (`ItineraryTransportationSegment.departureLocation.distanceFromSearch.unit`; string, required)
            - one of `"km"`, `"mi"`
          - `value` (`ItineraryTransportationSegment.departureLocation.distanceFromSearch.value`; number, required)
        - `features` (`ItineraryTransportationSegment.departureLocation.features`; array of string, optional)
        - `fullAddress` (`ItineraryTransportationSegment.departureLocation.fullAddress`; string, optional)
        - `gate` (`ItineraryTransportationSegment.departureLocation.gate`; any of, optional)
          - any of the following: `string`, `null`
        - `iataCode` (`ItineraryTransportationSegment.departureLocation.iataCode`; any of, optional)
          - any of the following: `string`, `null`
        - `internovaId` (`ItineraryTransportationSegment.departureLocation.internovaId`; string, optional)
        - `latitude` (`ItineraryTransportationSegment.departureLocation.latitude`; number, optional)
        - `longitude` (`ItineraryTransportationSegment.departureLocation.longitude`; number, optional)
        - `name` (`ItineraryTransportationSegment.departureLocation.name`; string, optional)
        - `photos` (`ItineraryTransportationSegment.departureLocation.photos`; array of object, optional)
          - `name` (`ItineraryTransportationSegment.departureLocation.photos.name`; string, required)
          - `key` (`ItineraryTransportationSegment.departureLocation.photos.key`; string, optional)
          - `url` (`ItineraryTransportationSegment.departureLocation.photos.url`; string, optional)
        - `placeId` (`ItineraryTransportationSegment.departureLocation.placeId`; string, optional)
        - `region` (`ItineraryTransportationSegment.departureLocation.region`; string, optional)
        - `source` (`ItineraryTransportationSegment.departureLocation.source`; string, optional)
        - `state` (`ItineraryTransportationSegment.departureLocation.state`; any of, optional)
          - any of the following: `string`, `null`
        - `terminal` (`ItineraryTransportationSegment.departureLocation.terminal`; any of, optional)
          - any of the following: `string`, `null`
        - `timeZone` (`ItineraryTransportationSegment.departureLocation.timeZone`; string, optional)
        - `zipCode` (`ItineraryTransportationSegment.departureLocation.zipCode`; any of, optional)
          - any of the following: `string`, `null`
      - `departureTimezone` (`ItineraryTransportationSegment.departureTimezone`; string, optional)
      - `guests` (`ItineraryTransportationSegment.guests`; number, optional)
      - `transportationType` (`ItineraryTransportationSegment.transportationType`; string, optional)
        - one of `"ground_transportation"`, `"train"`, `"bus"`, `"automobile"`
    - `ItineraryCruiseSegment`
      - `departureLocation` (`ItineraryCruiseSegment.departureLocation`; object, required)
        - `address` (`ItineraryCruiseSegment.departureLocation.address`; any of, optional)
          - any of the following: `string`, `null`
        - `amenities` (`ItineraryCruiseSegment.departureLocation.amenities`; array of string, optional)
        - `city` (`ItineraryCruiseSegment.departureLocation.city`; any of, optional)
          - any of the following: `string`, `null`
        - `country` (`ItineraryCruiseSegment.departureLocation.country`; string, optional)
        - `countryCode` (`ItineraryCruiseSegment.departureLocation.countryCode`; string, optional)
        - `description` (`ItineraryCruiseSegment.departureLocation.description`; string, optional)
        - `distanceFromSearch` (`ItineraryCruiseSegment.departureLocation.distanceFromSearch`; object, optional)
          - `unit` (`ItineraryCruiseSegment.departureLocation.distanceFromSearch.unit`; string, required)
            - one of `"km"`, `"mi"`
          - `value` (`ItineraryCruiseSegment.departureLocation.distanceFromSearch.value`; number, required)
        - `features` (`ItineraryCruiseSegment.departureLocation.features`; array of string, optional)
        - `fullAddress` (`ItineraryCruiseSegment.departureLocation.fullAddress`; string, optional)
        - `gate` (`ItineraryCruiseSegment.departureLocation.gate`; any of, optional)
          - any of the following: `string`, `null`
        - `iataCode` (`ItineraryCruiseSegment.departureLocation.iataCode`; any of, optional)
          - any of the following: `string`, `null`
        - `internovaId` (`ItineraryCruiseSegment.departureLocation.internovaId`; string, optional)
        - `latitude` (`ItineraryCruiseSegment.departureLocation.latitude`; number, optional)
        - `longitude` (`ItineraryCruiseSegment.departureLocation.longitude`; number, optional)
        - `name` (`ItineraryCruiseSegment.departureLocation.name`; string, optional)
        - `photos` (`ItineraryCruiseSegment.departureLocation.photos`; array of object, optional)
          - `name` (`ItineraryCruiseSegment.departureLocation.photos.name`; string, required)
          - `key` (`ItineraryCruiseSegment.departureLocation.photos.key`; string, optional)
          - `url` (`ItineraryCruiseSegment.departureLocation.photos.url`; string, optional)
        - `placeId` (`ItineraryCruiseSegment.departureLocation.placeId`; string, optional)
        - `region` (`ItineraryCruiseSegment.departureLocation.region`; string, optional)
        - `source` (`ItineraryCruiseSegment.departureLocation.source`; string, optional)
        - `state` (`ItineraryCruiseSegment.departureLocation.state`; any of, optional)
          - any of the following: `string`, `null`
        - `terminal` (`ItineraryCruiseSegment.departureLocation.terminal`; any of, optional)
          - any of the following: `string`, `null`
        - `timeZone` (`ItineraryCruiseSegment.departureLocation.timeZone`; string, optional)
        - `zipCode` (`ItineraryCruiseSegment.departureLocation.zipCode`; any of, optional)
          - any of the following: `string`, `null`
      - `location` (`ItineraryCruiseSegment.location`; any of, optional)
        - any of the following: `Location`, `null`
      - `title` (`ItineraryCruiseSegment.title`; any of, optional)
        - any of the following: `string`, `null`
      - `arrivalDateTime` (`ItineraryCruiseSegment.arrivalDateTime`; string, optional)
      - `arrivalLocation` (`ItineraryCruiseSegment.arrivalLocation`; object, optional)
        - `address` (`ItineraryCruiseSegment.arrivalLocation.address`; any of, optional)
          - any of the following: `string`, `null`
        - `amenities` (`ItineraryCruiseSegment.arrivalLocation.amenities`; array of string, optional)
        - `city` (`ItineraryCruiseSegment.arrivalLocation.city`; any of, optional)
          - any of the following: `string`, `null`
        - `country` (`ItineraryCruiseSegment.arrivalLocation.country`; string, optional)
        - `countryCode` (`ItineraryCruiseSegment.arrivalLocation.countryCode`; string, optional)
        - `description` (`ItineraryCruiseSegment.arrivalLocation.description`; string, optional)
        - `distanceFromSearch` (`ItineraryCruiseSegment.arrivalLocation.distanceFromSearch`; object, optional)
          - `unit` (`ItineraryCruiseSegment.arrivalLocation.distanceFromSearch.unit`; string, required)
            - one of `"km"`, `"mi"`
          - `value` (`ItineraryCruiseSegment.arrivalLocation.distanceFromSearch.value`; number, required)
        - `features` (`ItineraryCruiseSegment.arrivalLocation.features`; array of string, optional)
        - `fullAddress` (`ItineraryCruiseSegment.arrivalLocation.fullAddress`; string, optional)
        - `gate` (`ItineraryCruiseSegment.arrivalLocation.gate`; any of, optional)
          - any of the following: `string`, `null`
        - `iataCode` (`ItineraryCruiseSegment.arrivalLocation.iataCode`; any of, optional)
          - any of the following: `string`, `null`
        - `internovaId` (`ItineraryCruiseSegment.arrivalLocation.internovaId`; string, optional)
        - `latitude` (`ItineraryCruiseSegment.arrivalLocation.latitude`; number, optional)
        - `longitude` (`ItineraryCruiseSegment.arrivalLocation.longitude`; number, optional)
        - `name` (`ItineraryCruiseSegment.arrivalLocation.name`; string, optional)
        - `photos` (`ItineraryCruiseSegment.arrivalLocation.photos`; array of object, optional)
          - `name` (`ItineraryCruiseSegment.arrivalLocation.photos.name`; string, required)
          - `key` (`ItineraryCruiseSegment.arrivalLocation.photos.key`; string, optional)
          - `url` (`ItineraryCruiseSegment.arrivalLocation.photos.url`; string, optional)
        - `placeId` (`ItineraryCruiseSegment.arrivalLocation.placeId`; string, optional)
        - `region` (`ItineraryCruiseSegment.arrivalLocation.region`; string, optional)
        - `source` (`ItineraryCruiseSegment.arrivalLocation.source`; string, optional)
        - `state` (`ItineraryCruiseSegment.arrivalLocation.state`; any of, optional)
          - any of the following: `string`, `null`
        - `terminal` (`ItineraryCruiseSegment.arrivalLocation.terminal`; any of, optional)
          - any of the following: `string`, `null`
        - `timeZone` (`ItineraryCruiseSegment.arrivalLocation.timeZone`; string, optional)
        - `zipCode` (`ItineraryCruiseSegment.arrivalLocation.zipCode`; any of, optional)
          - any of the following: `string`, `null`
      - `arrivalTimezone` (`ItineraryCruiseSegment.arrivalTimezone`; string, optional)
      - `departureDateTime` (`ItineraryCruiseSegment.departureDateTime`; string, optional)
      - `departureTimezone` (`ItineraryCruiseSegment.departureTimezone`; string, optional)
      - `status` (`ItineraryCruiseSegment.status`; string, optional)
        - one of `"proposed"`, `"hold"`, `"booked"`, `"cancelled"`
      - `stop` (`ItineraryCruiseSegment.stop`; array of object, optional)
        - `address` (`ItineraryCruiseSegment.stop.address`; any of, optional)
          - any of the following: `string`, `null`
        - `amenities` (`ItineraryCruiseSegment.stop.amenities`; array of string, optional)
        - `city` (`ItineraryCruiseSegment.stop.city`; any of, optional)
          - any of the following: `string`, `null`
        - `country` (`ItineraryCruiseSegment.stop.country`; string, optional)
        - `countryCode` (`ItineraryCruiseSegment.stop.countryCode`; string, optional)
        - `description` (`ItineraryCruiseSegment.stop.description`; string, optional)
        - `distanceFromSearch` (`ItineraryCruiseSegment.stop.distanceFromSearch`; object, optional)
          - `unit` (`ItineraryCruiseSegment.stop.distanceFromSearch.unit`; string, required)
            - one of `"km"`, `"mi"`
          - `value` (`ItineraryCruiseSegment.stop.distanceFromSearch.value`; number, required)
        - `features` (`ItineraryCruiseSegment.stop.features`; array of string, optional)
        - `fullAddress` (`ItineraryCruiseSegment.stop.fullAddress`; string, optional)
        - `gate` (`ItineraryCruiseSegment.stop.gate`; any of, optional)
          - any of the following: `string`, `null`
        - `iataCode` (`ItineraryCruiseSegment.stop.iataCode`; any of, optional)
          - any of the following: `string`, `null`
        - `internovaId` (`ItineraryCruiseSegment.stop.internovaId`; string, optional)
        - `latitude` (`ItineraryCruiseSegment.stop.latitude`; number, optional)
        - `longitude` (`ItineraryCruiseSegment.stop.longitude`; number, optional)
        - `name` (`ItineraryCruiseSegment.stop.name`; string, optional)
        - `photos` (`ItineraryCruiseSegment.stop.photos`; array of object, optional)
          - `name` (`ItineraryCruiseSegment.stop.photos.name`; string, required)
          - `key` (`ItineraryCruiseSegment.stop.photos.key`; string, optional)
          - `url` (`ItineraryCruiseSegment.stop.photos.url`; string, optional)
        - `placeId` (`ItineraryCruiseSegment.stop.placeId`; string, optional)
        - `region` (`ItineraryCruiseSegment.stop.region`; string, optional)
        - `source` (`ItineraryCruiseSegment.stop.source`; string, optional)
        - `state` (`ItineraryCruiseSegment.stop.state`; any of, optional)
          - any of the following: `string`, `null`
        - `terminal` (`ItineraryCruiseSegment.stop.terminal`; any of, optional)
          - any of the following: `string`, `null`
        - `timeZone` (`ItineraryCruiseSegment.stop.timeZone`; string, optional)
        - `zipCode` (`ItineraryCruiseSegment.stop.zipCode`; any of, optional)
          - any of the following: `string`, `null`
      - `suites` (`ItineraryCruiseSegment.suites`; array of object, optional)
        - `adults` (`ItineraryCruiseSegment.suites.adults`; any of, optional)
          - any of the following: `number`, `null`
        - `beds` (`ItineraryCruiseSegment.suites.beds`; array of string, optional)
        - `children` (`ItineraryCruiseSegment.suites.children`; any of, optional)
          - any of the following: `number`, `null`
        - `name` (`ItineraryCruiseSegment.suites.name`; any of, optional)
          - any of the following: `string`, `null`
        - `policies` (`ItineraryCruiseSegment.suites.policies`; any of, optional)
          - any of the following:
            - `object`
              - `breakfast` (`ItineraryCruiseSegment.suites.policies.1.breakfast`; any of, optional)
                - any of the following: `string`, `null`
              - `deadline` (`ItineraryCruiseSegment.suites.policies.1.deadline`; any of, optional)
                - any of the following: `string`, `null`
              - `refund` (`ItineraryCruiseSegment.suites.policies.1.refund`; any of, optional)
                - any of the following: `string`, `null`
            - `null`
        - `travelers` (`ItineraryCruiseSegment.suites.travelers`; array of string, optional)
    - `ItineraryActivitySegment`
      - `location` (`ItineraryActivitySegment.location`; object, optional)
        - `address` (`ItineraryActivitySegment.location.address`; any of, optional)
          - any of the following: `string`, `null`
        - `amenities` (`ItineraryActivitySegment.location.amenities`; array of string, optional)
        - `city` (`ItineraryActivitySegment.location.city`; any of, optional)
          - any of the following: `string`, `null`
        - `country` (`ItineraryActivitySegment.location.country`; string, optional)
        - `countryCode` (`ItineraryActivitySegment.location.countryCode`; string, optional)
        - `description` (`ItineraryActivitySegment.location.description`; string, optional)
        - `distanceFromSearch` (`ItineraryActivitySegment.location.distanceFromSearch`; object, optional)
          - `unit` (`ItineraryActivitySegment.location.distanceFromSearch.unit`; string, required)
            - one of `"km"`, `"mi"`
          - `value` (`ItineraryActivitySegment.location.distanceFromSearch.value`; number, required)
        - `features` (`ItineraryActivitySegment.location.features`; array of string, optional)
        - `fullAddress` (`ItineraryActivitySegment.location.fullAddress`; string, optional)
        - `gate` (`ItineraryActivitySegment.location.gate`; any of, optional)
          - any of the following: `string`, `null`
        - `iataCode` (`ItineraryActivitySegment.location.iataCode`; any of, optional)
          - any of the following: `string`, `null`
        - `internovaId` (`ItineraryActivitySegment.location.internovaId`; string, optional)
        - `latitude` (`ItineraryActivitySegment.location.latitude`; number, optional)
        - `longitude` (`ItineraryActivitySegment.location.longitude`; number, optional)
        - `name` (`ItineraryActivitySegment.location.name`; string, optional)
        - `photos` (`ItineraryActivitySegment.location.photos`; array of object, optional)
          - `name` (`ItineraryActivitySegment.location.photos.name`; string, required)
          - `key` (`ItineraryActivitySegment.location.photos.key`; string, optional)
          - `url` (`ItineraryActivitySegment.location.photos.url`; string, optional)
        - `placeId` (`ItineraryActivitySegment.location.placeId`; string, optional)
        - `region` (`ItineraryActivitySegment.location.region`; string, optional)
        - `source` (`ItineraryActivitySegment.location.source`; string, optional)
        - `state` (`ItineraryActivitySegment.location.state`; any of, optional)
          - any of the following: `string`, `null`
        - `terminal` (`ItineraryActivitySegment.location.terminal`; any of, optional)
          - any of the following: `string`, `null`
        - `timeZone` (`ItineraryActivitySegment.location.timeZone`; string, optional)
        - `zipCode` (`ItineraryActivitySegment.location.zipCode`; any of, optional)
          - any of the following: `string`, `null`
      - `title` (`ItineraryActivitySegment.title`; any of, optional)
        - any of the following: `string`, `null`
      - `additionalInfo` (`ItineraryActivitySegment.additionalInfo`; array of string, optional)
      - `bookingQuestions` (`ItineraryActivitySegment.bookingQuestions`; array of string, optional)
      - `cancellationPolicy` (`ItineraryActivitySegment.cancellationPolicy`; object, optional)
        - `isCancellable` (`ItineraryActivitySegment.cancellationPolicy.isCancellable`; boolean, required)
        - `cancelIfBadWeather` (`ItineraryActivitySegment.cancellationPolicy.cancelIfBadWeather`; boolean, optional)
        - `freeDeadline` (`ItineraryActivitySegment.cancellationPolicy.freeDeadline`; string, optional)
      - `dropoffInstructions` (`ItineraryActivitySegment.dropoffInstructions`; string, optional)
      - `dropoffLocation` (`ItineraryActivitySegment.dropoffLocation`; object, optional)
        - `address` (`ItineraryActivitySegment.dropoffLocation.address`; any of, optional)
          - any of the following: `string`, `null`
        - `amenities` (`ItineraryActivitySegment.dropoffLocation.amenities`; array of string, optional)
        - `city` (`ItineraryActivitySegment.dropoffLocation.city`; any of, optional)
          - any of the following: `string`, `null`
        - `country` (`ItineraryActivitySegment.dropoffLocation.country`; string, optional)
        - `countryCode` (`ItineraryActivitySegment.dropoffLocation.countryCode`; string, optional)
        - `description` (`ItineraryActivitySegment.dropoffLocation.description`; string, optional)
        - `distanceFromSearch` (`ItineraryActivitySegment.dropoffLocation.distanceFromSearch`; object, optional)
          - `unit` (`ItineraryActivitySegment.dropoffLocation.distanceFromSearch.unit`; string, required)
            - one of `"km"`, `"mi"`
          - `value` (`ItineraryActivitySegment.dropoffLocation.distanceFromSearch.value`; number, required)
        - `features` (`ItineraryActivitySegment.dropoffLocation.features`; array of string, optional)
        - `fullAddress` (`ItineraryActivitySegment.dropoffLocation.fullAddress`; string, optional)
        - `gate` (`ItineraryActivitySegment.dropoffLocation.gate`; any of, optional)
          - any of the following: `string`, `null`
        - `iataCode` (`ItineraryActivitySegment.dropoffLocation.iataCode`; any of, optional)
          - any of the following: `string`, `null`
        - `internovaId` (`ItineraryActivitySegment.dropoffLocation.internovaId`; string, optional)
        - `latitude` (`ItineraryActivitySegment.dropoffLocation.latitude`; number, optional)
        - `longitude` (`ItineraryActivitySegment.dropoffLocation.longitude`; number, optional)
        - `name` (`ItineraryActivitySegment.dropoffLocation.name`; string, optional)
        - `photos` (`ItineraryActivitySegment.dropoffLocation.photos`; array of object, optional)
          - `name` (`ItineraryActivitySegment.dropoffLocation.photos.name`; string, required)
          - `key` (`ItineraryActivitySegment.dropoffLocation.photos.key`; string, optional)
          - `url` (`ItineraryActivitySegment.dropoffLocation.photos.url`; string, optional)
        - `placeId` (`ItineraryActivitySegment.dropoffLocation.placeId`; string, optional)
        - `region` (`ItineraryActivitySegment.dropoffLocation.region`; string, optional)
        - `source` (`ItineraryActivitySegment.dropoffLocation.source`; string, optional)
        - `state` (`ItineraryActivitySegment.dropoffLocation.state`; any of, optional)
          - any of the following: `string`, `null`
        - `terminal` (`ItineraryActivitySegment.dropoffLocation.terminal`; any of, optional)
          - any of the following: `string`, `null`
        - `timeZone` (`ItineraryActivitySegment.dropoffLocation.timeZone`; string, optional)
        - `zipCode` (`ItineraryActivitySegment.dropoffLocation.zipCode`; any of, optional)
          - any of the following: `string`, `null`
      - `dropoffTime` (`ItineraryActivitySegment.dropoffTime`; string, optional)
      - `durationMinutes` (`ItineraryActivitySegment.durationMinutes`; number, optional)
      - `durationText` (`ItineraryActivitySegment.durationText`; string, optional)
      - `exclusions` (`ItineraryActivitySegment.exclusions`; array of string, optional)
      - `freeCancellation` (`ItineraryActivitySegment.freeCancellation`; boolean, optional)
      - `inclusions` (`ItineraryActivitySegment.inclusions`; array of string, optional)
      - `instantConfirmation` (`ItineraryActivitySegment.instantConfirmation`; boolean, optional)
      - `itinerarySteps` (`ItineraryActivitySegment.itinerarySteps`; array of object, optional)
        - `title` (`ItineraryActivitySegment.itinerarySteps.title`; string, required)
        - `admissionIncluded` (`ItineraryActivitySegment.itinerarySteps.admissionIncluded`; string, optional)
          - one of `"YES"`, `"NO"`, `"NOT_APPLICABLE"`
        - `description` (`ItineraryActivitySegment.itinerarySteps.description`; string, optional)
        - `durationMinutes` (`ItineraryActivitySegment.itinerarySteps.durationMinutes`; number, optional)
        - `durationText` (`ItineraryActivitySegment.itinerarySteps.durationText`; string, optional)
        - `location` (`ItineraryActivitySegment.itinerarySteps.location`; object, optional)
          - `address` (`ItineraryActivitySegment.itinerarySteps.location.address`; any of, optional)
            - any of the following: `string`, `null`
          - `amenities` (`ItineraryActivitySegment.itinerarySteps.location.amenities`; array of string, optional)
          - `city` (`ItineraryActivitySegment.itinerarySteps.location.city`; any of, optional)
            - any of the following: `string`, `null`
          - `country` (`ItineraryActivitySegment.itinerarySteps.location.country`; string, optional)
          - `countryCode` (`ItineraryActivitySegment.itinerarySteps.location.countryCode`; string, optional)
          - `description` (`ItineraryActivitySegment.itinerarySteps.location.description`; string, optional)
          - `distanceFromSearch` (`ItineraryActivitySegment.itinerarySteps.location.distanceFromSearch`; object, optional)
            - `unit` (`ItineraryActivitySegment.itinerarySteps.location.distanceFromSearch.unit`; string, required)
              - one of `"km"`, `"mi"`
            - `value` (`ItineraryActivitySegment.itinerarySteps.location.distanceFromSearch.value`; number, required)
          - `features` (`ItineraryActivitySegment.itinerarySteps.location.features`; array of string, optional)
          - `fullAddress` (`ItineraryActivitySegment.itinerarySteps.location.fullAddress`; string, optional)
          - `gate` (`ItineraryActivitySegment.itinerarySteps.location.gate`; any of, optional)
            - any of the following: `string`, `null`
          - `iataCode` (`ItineraryActivitySegment.itinerarySteps.location.iataCode`; any of, optional)
            - any of the following: `string`, `null`
          - `internovaId` (`ItineraryActivitySegment.itinerarySteps.location.internovaId`; string, optional)
          - `latitude` (`ItineraryActivitySegment.itinerarySteps.location.latitude`; number, optional)
          - `longitude` (`ItineraryActivitySegment.itinerarySteps.location.longitude`; number, optional)
          - `name` (`ItineraryActivitySegment.itinerarySteps.location.name`; string, optional)
          - `photos` (`ItineraryActivitySegment.itinerarySteps.location.photos`; array of object, optional)
            - `name` (`ItineraryActivitySegment.itinerarySteps.location.photos.name`; string, required)
            - `key` (`ItineraryActivitySegment.itinerarySteps.location.photos.key`; string, optional)
            - `url` (`ItineraryActivitySegment.itinerarySteps.location.photos.url`; string, optional)
          - `placeId` (`ItineraryActivitySegment.itinerarySteps.location.placeId`; string, optional)
          - `region` (`ItineraryActivitySegment.itinerarySteps.location.region`; string, optional)
          - `source` (`ItineraryActivitySegment.itinerarySteps.location.source`; string, optional)
          - `state` (`ItineraryActivitySegment.itinerarySteps.location.state`; any of, optional)
            - any of the following: `string`, `null`
          - `terminal` (`ItineraryActivitySegment.itinerarySteps.location.terminal`; any of, optional)
            - any of the following: `string`, `null`
          - `timeZone` (`ItineraryActivitySegment.itinerarySteps.location.timeZone`; string, optional)
          - `zipCode` (`ItineraryActivitySegment.itinerarySteps.location.zipCode`; any of, optional)
            - any of the following: `string`, `null`
        - `passByWithoutStopping` (`ItineraryActivitySegment.itinerarySteps.passByWithoutStopping`; boolean, optional)
      - `languages` (`ItineraryActivitySegment.languages`; array of string, optional)
      - `maxTravelersPerBooking` (`ItineraryActivitySegment.maxTravelersPerBooking`; number, optional)
      - `minTravelersPerBooking` (`ItineraryActivitySegment.minTravelersPerBooking`; number, optional)
      - `mobileTicket` (`ItineraryActivitySegment.mobileTicket`; boolean, optional)
      - `pickupInstructions` (`ItineraryActivitySegment.pickupInstructions`; string, optional)
      - `pickupLocation` (`ItineraryActivitySegment.pickupLocation`; object, optional)
        - `address` (`ItineraryActivitySegment.pickupLocation.address`; any of, optional)
          - any of the following: `string`, `null`
        - `amenities` (`ItineraryActivitySegment.pickupLocation.amenities`; array of string, optional)
        - `city` (`ItineraryActivitySegment.pickupLocation.city`; any of, optional)
          - any of the following: `string`, `null`
        - `country` (`ItineraryActivitySegment.pickupLocation.country`; string, optional)
        - `countryCode` (`ItineraryActivitySegment.pickupLocation.countryCode`; string, optional)
        - `description` (`ItineraryActivitySegment.pickupLocation.description`; string, optional)
        - `distanceFromSearch` (`ItineraryActivitySegment.pickupLocation.distanceFromSearch`; object, optional)
          - `unit` (`ItineraryActivitySegment.pickupLocation.distanceFromSearch.unit`; string, required)
            - one of `"km"`, `"mi"`
          - `value` (`ItineraryActivitySegment.pickupLocation.distanceFromSearch.value`; number, required)
        - `features` (`ItineraryActivitySegment.pickupLocation.features`; array of string, optional)
        - `fullAddress` (`ItineraryActivitySegment.pickupLocation.fullAddress`; string, optional)
        - `gate` (`ItineraryActivitySegment.pickupLocation.gate`; any of, optional)
          - any of the following: `string`, `null`
        - `iataCode` (`ItineraryActivitySegment.pickupLocation.iataCode`; any of, optional)
          - any of the following: `string`, `null`
        - `internovaId` (`ItineraryActivitySegment.pickupLocation.internovaId`; string, optional)
        - `latitude` (`ItineraryActivitySegment.pickupLocation.latitude`; number, optional)
        - `longitude` (`ItineraryActivitySegment.pickupLocation.longitude`; number, optional)
        - `name` (`ItineraryActivitySegment.pickupLocation.name`; string, optional)
        - `photos` (`ItineraryActivitySegment.pickupLocation.photos`; array of object, optional)
          - `name` (`ItineraryActivitySegment.pickupLocation.photos.name`; string, required)
          - `key` (`ItineraryActivitySegment.pickupLocation.photos.key`; string, optional)
          - `url` (`ItineraryActivitySegment.pickupLocation.photos.url`; string, optional)
        - `placeId` (`ItineraryActivitySegment.pickupLocation.placeId`; string, optional)
        - `region` (`ItineraryActivitySegment.pickupLocation.region`; string, optional)
        - `source` (`ItineraryActivitySegment.pickupLocation.source`; string, optional)
        - `state` (`ItineraryActivitySegment.pickupLocation.state`; any of, optional)
          - any of the following: `string`, `null`
        - `terminal` (`ItineraryActivitySegment.pickupLocation.terminal`; any of, optional)
          - any of the following: `string`, `null`
        - `timeZone` (`ItineraryActivitySegment.pickupLocation.timeZone`; string, optional)
        - `zipCode` (`ItineraryActivitySegment.pickupLocation.zipCode`; any of, optional)
          - any of the following: `string`, `null`
      - `pickupTime` (`ItineraryActivitySegment.pickupTime`; string, optional)
      - `privateTour` (`ItineraryActivitySegment.privateTour`; boolean, optional)
      - `provider` (`ItineraryActivitySegment.provider`; string, optional) — Which provider the activity comes from (`viator`, `manual`). Answered to Nicer staff only.
      - `providerBookingRef` (`ItineraryActivitySegment.providerBookingRef`; string, optional) — The provider's booking reference. Answered only to the agency's own advisors and admins and to Nicer staff.
      - `providerProductCode` (`ItineraryActivitySegment.providerProductCode`; string, optional) — The provider's product code. Answered only to the agency's own advisors and admins and to Nicer staff.
      - `providerProductUrl` (`ItineraryActivitySegment.providerProductUrl`; string, optional) — The provider's product page, where the advisor books it. Answered only to the agency's own advisors and admins and to Nicer staff.
      - `reviews` (`ItineraryActivitySegment.reviews`; object, optional)
        - `averageRating` (`ItineraryActivitySegment.reviews.averageRating`; number, optional)
        - `totalReviews` (`ItineraryActivitySegment.reviews.totalReviews`; number, optional)
      - `skipTheLine` (`ItineraryActivitySegment.skipTheLine`; boolean, optional)
      - `status` (`ItineraryActivitySegment.status`; string, optional)
        - one of `"proposed"`, `"hold"`, `"booked"`, `"cancelled"`
      - `supplierName` (`ItineraryActivitySegment.supplierName`; string, optional)
      - `supplierReference` (`ItineraryActivitySegment.supplierReference`; string, optional)
      - `timeZone` (`ItineraryActivitySegment.timeZone`; string, optional)
      - `travelers` (`ItineraryActivitySegment.travelers`; array of string, optional)
    - `ItineraryRestaurantSegment`
      - `location` (`ItineraryRestaurantSegment.location`; any of, optional)
        - any of the following: `Location`, `null`
      - `title` (`ItineraryRestaurantSegment.title`; any of, optional)
        - any of the following: `string`, `null`
      - `status` (`ItineraryRestaurantSegment.status`; string, optional)
        - one of `"proposed"`, `"hold"`, `"booked"`, `"cancelled"`
    - `ItineraryCustomSegment`
      - `title` (`ItineraryCustomSegment.title`; string, required)
      - `location` (`ItineraryCustomSegment.location`; any of, optional)
        - any of the following: `Location`, `null`

## Example request

```json
[
  {
    "segment": {
      "advisorInsights": "string",
      "amenities": [
        "string"
      ],
      "approvedAt": "string",
      "approvedBy": "string",
      "attachments": [
        {
          "key": "string",
          "name": "string",
          "source": "string",
          "url": "string"
        }
      ],
      "countTravelers": 0,
      "createdAt": "string",
      "createdBy": "string",
      "currency": "string",
      "details": "string",
      "endDateTime": "string",
      "groupId": "string",
      "hash": "string",
      "id": "string",
      "images": [
        {
          "key": "string",
          "name": "string",
          "source": "string",
          "url": "string"
        }
      ],
      "isOnSitePayment": true,
      "lastModifiedBy": "string",
      "location": {
        "address": "string",
        "amenities": [
          "string"
        ],
        "city": "string",
        "country": "string",
        "countryCode": "string",
        "description": "string",
        "distanceFromSearch": {
          "unit": "km",
          "value": 0
        },
        "features": [
          "string"
        ],
        "fullAddress": "string",
        "gate": "string",
        "iataCode": "string",
        "internovaId": "string",
        "latitude": 0,
        "longitude": 0,
        "name": "string",
        "photos": [
          {
            "key": "string",
            "name": "string",
            "url": "string"
          }
        ],
        "placeId": "string",
        "region": "string",
        "source": "string",
        "state": "string",
        "terminal": "string",
        "timeZone": "string",
        "zipCode": "string"
      },
      "metadata": {
        "property1": null,
        "property2": null
      },
      "price": 0,
      "priceInUSD": 0,
      "rate": 0,
      "startDateTime": "string",
      "title": "string",
      "updatedAt": "string",
      "type": "flight",
      "baggageCharges": [
        {
          "description": "string",
          "firstPiece": 9007199254740991,
          "lastPiece": 9007199254740991,
          "passengerReference": "string",
          "price": {
            "amountMinor": 9007199254740991,
            "currency": "string"
          },
          "segmentReferences": [
            "string"
          ],
          "size": {
            "dimensions": null,
            "linear": 158,
            "unit": "CM"
          },
          "type": "CARRY_ON",
          "weight": {
            "unit": "KG",
            "value": 23
          }
        }
      ],
      "brandFeatures": [
        {
          "availability": "CHARGEABLE",
          "name": "string"
        }
      ],
      "cabin": "BUSINESS",
      "commercialSnapshot": {
        "calculationInputs": {
          "property1": true,
          "property2": true
        },
        "expectedAdvisorEarning": {
          "amountMinor": 9007199254740991,
          "currency": "string",
          "basis": "string",
          "rateBps": 10000
        },
        "expectedSupplierCommission": {
          "amountMinor": 9007199254740991,
          "currency": "string",
          "basis": "string",
          "rateBps": 10000
        },
        "expectedTravelerReward": {
          "amountMinor": 9007199254740991,
          "currency": "string",
          "basis": "string",
          "rateBps": 10000
        },
        "policyVersion": "string"
      },
      "fareRules": [
        {
          "category": "ADVANCE_PURCHASE",
          "exactCopy": "string",
          "passengerReferences": [
            "string"
          ]
        }
      ],
      "flightIndex": "string",
      "flightType": "one-way",
      "inbound": [
        {
          "aircraft": "string",
          "arrivingAt": null,
          "baggage": [
            {
              "description": "string",
              "passengerReference": "string",
              "pieces": 9007199254740991,
              "serviceId": "string",
              "size": {
                "dimensions": null,
                "linear": 158,
                "unit": "CM"
              },
              "status": "AVAILABLE",
              "type": "CARRY_ON",
              "weight": {
                "unit": "KG",
                "value": 23
              }
            }
          ],
          "bookingClass": "string",
          "brand": {
            "code": "string",
            "name": "string"
          },
          "cabin": "BUSINESS",
          "departingAt": "string",
          "destination": {
            "address": "string",
            "amenities": [
              "string"
            ],
            "city": "string",
            "country": "string",
            "countryCode": "string",
            "description": "string",
            "distanceFromSearch": {
              "unit": "km",
              "value": 0
            },
            "features": [
              "string"
            ],
            "fullAddress": "string",
            "gate": "string",
            "iataCode": "string",
            "internovaId": "string",
            "latitude": 0,
            "longitude": 0,
            "name": "string",
            "photos": [
              {}
            ],
            "placeId": "string",
            "region": "string",
            "source": "string",
            "state": "string",
            "terminal": "string",
            "timeZone": "string",
            "zipCode": "string"
          },
          "distance": "string",
          "duration": "string",
          "explicitNoFlightNumber": true,
          "fareBasisCode": "string",
          "hiddenStops": [
            {
              "airport": {},
              "arrivalAt": "2019-08-24T14:15:22Z",
              "departureAt": "2019-08-24T14:15:22Z",
              "durationMinutes": 9007199254740991
            }
          ],
          "legId": "string",
          "marketingCarrier": {
            "conditionsOfCarriageUrl": "string",
            "iataCode": null,
            "logoLockupUrl": "string",
            "logoSymbolUrl": "string",
            "name": null
          },
          "marketingCarrierFlightNumber": "string",
          "operatingCarrier": {
            "conditionsOfCarriageUrl": "string",
            "iataCode": null,
            "logoLockupUrl": "string",
            "logoSymbolUrl": "string",
            "name": null
          },
          "operatingCarrierFlightNumber": "string",
          "origin": {
            "address": "string",
            "amenities": [
              "string"
            ],
            "city": "string",
            "country": "string",
            "countryCode": "string",
            "description": "string",
            "distanceFromSearch": {
              "unit": "km",
              "value": 0
            },
            "features": [
              "string"
            ],
            "fullAddress": "string",
            "gate": "string",
            "iataCode": "string",
            "internovaId": "string",
            "latitude": 0,
            "longitude": 0,
            "name": "string",
            "photos": [
              {}
            ],
            "placeId": "string",
            "region": "string",
            "source": "string",
            "state": "string",
            "terminal": "string",
            "timeZone": "string",
            "zipCode": "string"
          },
          "providerSegmentReference": "string",
          "seats": [
            {
              "passengerReference": "string",
              "price": {},
              "seatId": "string",
              "seatNumber": "string"
            }
          ],
          "services": [
            {
              "name": "string",
              "passengerReferences": [
                null
              ],
              "price": {},
              "serviceId": "string",
              "status": "CONFIRMED"
            }
          ]
        }
      ],
      "outbound": [
        {
          "aircraft": "string",
          "arrivingAt": null,
          "baggage": [
            {
              "description": "string",
              "passengerReference": "string",
              "pieces": 9007199254740991,
              "serviceId": "string",
              "size": {
                "dimensions": null,
                "linear": 158,
                "unit": "CM"
              },
              "status": "AVAILABLE",
              "type": "CARRY_ON",
              "weight": {
                "unit": "KG",
                "value": 23
              }
            }
          ],
          "bookingClass": "string",
          "brand": {
            "code": "string",
            "name": "string"
          },
          "cabin": "BUSINESS",
          "departingAt": "string",
          "destination": {
            "address": "string",
            "amenities": [
              "string"
            ],
            "city": "string",
            "country": "string",
            "countryCode": "string",
            "description": "string",
            "distanceFromSearch": {
              "unit": "km",
              "value": 0
            },
            "features": [
              "string"
            ],
            "fullAddress": "string",
            "gate": "string",
            "iataCode": "string",
            "internovaId": "string",
            "latitude": 0,
            "longitude": 0,
            "name": "string",
            "photos": [
              {}
            ],
            "placeId": "string",
            "region": "string",
            "source": "string",
            "state": "string",
            "terminal": "string",
            "timeZone": "string",
            "zipCode": "string"
          },
          "distance": "string",
          "duration": "string",
          "explicitNoFlightNumber": true,
          "fareBasisCode": "string",
          "hiddenStops": [
            {
              "airport": {},
              "arrivalAt": "2019-08-24T14:15:22Z",
              "departureAt": "2019-08-24T14:15:22Z",
              "durationMinutes": 9007199254740991
            }
          ],
          "legId": "string",
          "marketingCarrier": {
            "conditionsOfCarriageUrl": "string",
            "iataCode": null,
            "logoLockupUrl": "string",
            "logoSymbolUrl": "string",
            "name": null
          },
          "marketingCarrierFlightNumber": "string",
          "operatingCarrier": {
            "conditionsOfCarriageUrl": "string",
            "iataCode": null,
            "logoLockupUrl": "string",
            "logoSymbolUrl": "string",
            "name": null
          },
          "operatingCarrierFlightNumber": "string",
          "origin": {
            "address": "string",
            "amenities": [
              "string"
            ],
            "city": "string",
            "country": "string",
            "countryCode": "string",
            "description": "string",
            "distanceFromSearch": {
              "unit": "km",
              "value": 0
            },
            "features": [
              "string"
            ],
            "fullAddress": "string",
            "gate": "string",
            "iataCode": "string",
            "internovaId": "string",
            "latitude": 0,
            "longitude": 0,
            "name": "string",
            "photos": [
              {}
            ],
            "placeId": "string",
            "region": "string",
            "source": "string",
            "state": "string",
            "terminal": "string",
            "timeZone": "string",
            "zipCode": "string"
          },
          "providerSegmentReference": "string",
          "seats": [
            {
              "passengerReference": "string",
              "price": {},
              "seatId": "string",
              "seatNumber": "string"
            }
          ],
          "services": [
            {
              "name": "string",
              "passengerReferences": [
                null
              ],
              "price": {},
              "serviceId": "string",
              "status": "CONFIRMED"
            }
          ]
        }
      ],
      "owner": {
        "code": "string",
        "logoAssetReference": "string",
        "name": "string"
      },
      "passengers": [
        {
          "count": 9007199254740991,
          "totalMinor": 9007199254740991,
          "type": "ADULT"
        }
      ],
      "policies": [
        {
          "allowed": true,
          "deadline": "2019-08-24T14:15:22Z",
          "exactCopy": "string",
          "kind": "CANCELLATION",
          "penalties": [
            {
              "amount": {},
              "from": "2019-08-24T14:15:22Z",
              "summary": "string"
            }
          ]
        }
      ],
      "priceSnapshot": {
        "baseMinor": 9007199254740991,
        "collector": "MULTIPLE",
        "currency": "string",
        "depositMinor": 9007199254740991,
        "discounts": [
          {
            "amountMinor": 9007199254740991,
            "code": "string",
            "label": "string"
          }
        ],
        "dueAtPropertyMinor": 9007199254740991,
        "dueLaterMinor": 9007199254740991,
        "dueNowMinor": 9007199254740991,
        "fees": [
          {
            "amountMinor": 9007199254740991,
            "code": "string",
            "label": "string"
          }
        ],
        "lineItems": [
          {
            "amountMinor": 9007199254740991,
            "code": "string",
            "label": "string"
          }
        ],
        "taxes": [
          {
            "amountMinor": 9007199254740991,
            "code": "string",
            "label": "string"
          }
        ],
        "totalMinor": 9007199254740991
      },
      "rules": {
        "afterDeparture": {
          "cancellation": {
            "allowed": true,
            "deadline": "2019-08-24T14:15:22Z",
            "penalty": {
              "amountMinor": 9007199254740991,
              "currency": "string"
            },
            "penaltyRange": {
              "currency": "string",
              "maximumAmountMinor": 9007199254740991,
              "minimumAmountMinor": 9007199254740991
            },
            "summary": "string"
          },
          "change": {
            "allowed": true,
            "deadline": "2019-08-24T14:15:22Z",
            "penalty": {
              "amountMinor": 9007199254740991,
              "currency": "string"
            },
            "penaltyRange": {
              "currency": "string",
              "maximumAmountMinor": 9007199254740991,
              "minimumAmountMinor": 9007199254740991
            },
            "summary": "string"
          }
        },
        "cancellation": {
          "allowed": true,
          "deadline": "2019-08-24T14:15:22Z",
          "penalty": {
            "amountMinor": 9007199254740991,
            "currency": "string"
          },
          "penaltyRange": {
            "currency": "string",
            "maximumAmountMinor": 9007199254740991,
            "minimumAmountMinor": 9007199254740991
          },
          "summary": "string"
        },
        "change": {
          "allowed": true,
          "deadline": "2019-08-24T14:15:22Z",
          "penalty": {
            "amountMinor": 9007199254740991,
            "currency": "string"
          },
          "penaltyRange": {
            "currency": "string",
            "maximumAmountMinor": 9007199254740991,
            "minimumAmountMinor": 9007199254740991
          },
          "summary": "string"
        }
      },
      "ticketingDeadline": "string"
    }
  }
]
```

## Code samples

### cURL

```bash
curl --request POST \
  --url 'https://api.nicer.travel/trip-itinerary/<tripItineraryId>/webhook' \
  --header 'Content-Type: application/json' \
  --header 'x-nicer-webhook-signature: <x-nicer-webhook-signature>' \
  --data '
[
  {
    "segment": {
      "advisorInsights": "string",
      "amenities": [
        "string"
      ],
      "approvedAt": "string",
      "approvedBy": "string",
      "attachments": [
        {
          "key": "string",
          "name": "string",
          "source": "string",
          "url": "string"
        }
      ],
      "countTravelers": 0,
      "createdAt": "string",
      "createdBy": "string",
      "currency": "string",
      "details": "string",
      "endDateTime": "string",
      "groupId": "string",
      "hash": "string",
      "id": "string",
      "images": [
        {
          "key": "string",
          "name": "string",
          "source": "string",
          "url": "string"
        }
      ],
      "isOnSitePayment": true,
      "lastModifiedBy": "string",
      "location": {
        "address": "string",
        "amenities": [
          "string"
        ],
        "city": "string",
        "country": "string",
        "countryCode": "string",
        "description": "string",
        "distanceFromSearch": {
          "unit": "km",
          "value": 0
        },
        "features": [
          "string"
        ],
        "fullAddress": "string",
        "gate": "string",
        "iataCode": "string",
        "internovaId": "string",
        "latitude": 0,
        "longitude": 0,
        "name": "string",
        "photos": [
          {
            "key": "string",
            "name": "string",
            "url": "string"
          }
        ],
        "placeId": "string",
        "region": "string",
        "source": "string",
        "state": "string",
        "terminal": "string",
        "timeZone": "string",
        "zipCode": "string"
      },
      "metadata": {
        "property1": null,
        "property2": null
      },
      "price": 0,
      "priceInUSD": 0,
      "rate": 0,
      "startDateTime": "string",
      "title": "string",
      "updatedAt": "string",
      "type": "flight",
      "baggageCharges": [
        {
          "description": "string",
          "firstPiece": 9007199254740991,
          "lastPiece": 9007199254740991,
          "passengerReference": "string",
          "price": {
            "amountMinor": 9007199254740991,
            "currency": "string"
          },
          "segmentReferences": [
            "string"
          ],
          "size": {
            "dimensions": null,
            "linear": 158,
            "unit": "CM"
          },
          "type": "CARRY_ON",
          "weight": {
            "unit": "KG",
            "value": 23
          }
        }
      ],
      "brandFeatures": [
        {
          "availability": "CHARGEABLE",
          "name": "string"
        }
      ],
      "cabin": "BUSINESS",
      "commercialSnapshot": {
        "calculationInputs": {
          "property1": true,
          "property2": true
        },
        "expectedAdvisorEarning": {
          "amountMinor": 9007199254740991,
          "currency": "string",
          "basis": "string",
          "rateBps": 10000
        },
        "expectedSupplierCommission": {
          "amountMinor": 9007199254740991,
          "currency": "string",
          "basis": "string",
          "rateBps": 10000
        },
        "expectedTravelerReward": {
          "amountMinor": 9007199254740991,
          "currency": "string",
          "basis": "string",
          "rateBps": 10000
        },
        "policyVersion": "string"
      },
      "fareRules": [
        {
          "category": "ADVANCE_PURCHASE",
          "exactCopy": "string",
          "passengerReferences": [
            "string"
          ]
        }
      ],
      "flightIndex": "string",
      "flightType": "one-way",
      "inbound": [
        {
          "aircraft": "string",
          "arrivingAt": null,
          "baggage": [
            {
              "description": "string",
              "passengerReference": "string",
              "pieces": 9007199254740991,
              "serviceId": "string",
              "size": {
                "dimensions": null,
                "linear": 158,
                "unit": "CM"
              },
              "status": "AVAILABLE",
              "type": "CARRY_ON",
              "weight": {
                "unit": "KG",
                "value": 23
              }
            }
          ],
          "bookingClass": "string",
          "brand": {
            "code": "string",
            "name": "string"
          },
          "cabin": "BUSINESS",
          "departingAt": "string",
          "destination": {
            "address": "string",
            "amenities": [
              "string"
            ],
            "city": "string",
            "country": "string",
            "countryCode": "string",
            "description": "string",
            "distanceFromSearch": {
              "unit": "km",
              "value": 0
            },
            "features": [
              "string"
            ],
            "fullAddress": "string",
            "gate": "string",
            "iataCode": "string",
            "internovaId": "string",
            "latitude": 0,
            "longitude": 0,
            "name": "string",
            "photos": [
              {}
            ],
            "placeId": "string",
            "region": "string",
            "source": "string",
            "state": "string",
            "terminal": "string",
            "timeZone": "string",
            "zipCode": "string"
          },
          "distance": "string",
          "duration": "string",
          "explicitNoFlightNumber": true,
          "fareBasisCode": "string",
          "hiddenStops": [
            {
              "airport": {},
              "arrivalAt": "2019-08-24T14:15:22Z",
              "departureAt": "2019-08-24T14:15:22Z",
              "durationMinutes": 9007199254740991
            }
          ],
          "legId": "string",
          "marketingCarrier": {
            "conditionsOfCarriageUrl": "string",
            "iataCode": null,
            "logoLockupUrl": "string",
            "logoSymbolUrl": "string",
            "name": null
          },
          "marketingCarrierFlightNumber": "string",
          "operatingCarrier": {
            "conditionsOfCarriageUrl": "string",
            "iataCode": null,
            "logoLockupUrl": "string",
            "logoSymbolUrl": "string",
            "name": null
          },
          "operatingCarrierFlightNumber": "string",
          "origin": {
            "address": "string",
            "amenities": [
              "string"
            ],
            "city": "string",
            "country": "string",
            "countryCode": "string",
            "description": "string",
            "distanceFromSearch": {
              "unit": "km",
              "value": 0
            },
            "features": [
              "string"
            ],
            "fullAddress": "string",
            "gate": "string",
            "iataCode": "string",
            "internovaId": "string",
            "latitude": 0,
            "longitude": 0,
            "name": "string",
            "photos": [
              {}
            ],
            "placeId": "string",
            "region": "string",
            "source": "string",
            "state": "string",
            "terminal": "string",
            "timeZone": "string",
            "zipCode": "string"
          },
          "providerSegmentReference": "string",
          "seats": [
            {
              "passengerReference": "string",
              "price": {},
              "seatId": "string",
              "seatNumber": "string"
            }
          ],
          "services": [
            {
              "name": "string",
              "passengerReferences": [
                null
              ],
              "price": {},
              "serviceId": "string",
              "status": "CONFIRMED"
            }
          ]
        }
      ],
      "outbound": [
        {
          "aircraft": "string",
          "arrivingAt": null,
          "baggage": [
            {
              "description": "string",
              "passengerReference": "string",
              "pieces": 9007199254740991,
              "serviceId": "string",
              "size": {
                "dimensions": null,
                "linear": 158,
                "unit": "CM"
              },
              "status": "AVAILABLE",
              "type": "CARRY_ON",
              "weight": {
                "unit": "KG",
                "value": 23
              }
            }
          ],
          "bookingClass": "string",
          "brand": {
            "code": "string",
            "name": "string"
          },
          "cabin": "BUSINESS",
          "departingAt": "string",
          "destination": {
            "address": "string",
            "amenities": [
              "string"
            ],
            "city": "string",
            "country": "string",
            "countryCode": "string",
            "description": "string",
            "distanceFromSearch": {
              "unit": "km",
              "value": 0
            },
            "features": [
              "string"
            ],
            "fullAddress": "string",
            "gate": "string",
            "iataCode": "string",
            "internovaId": "string",
            "latitude": 0,
            "longitude": 0,
            "name": "string",
            "photos": [
              {}
            ],
            "placeId": "string",
            "region": "string",
            "source": "string",
            "state": "string",
            "terminal": "string",
            "timeZone": "string",
            "zipCode": "string"
          },
          "distance": "string",
          "duration": "string",
          "explicitNoFlightNumber": true,
          "fareBasisCode": "string",
          "hiddenStops": [
            {
              "airport": {},
              "arrivalAt": "2019-08-24T14:15:22Z",
              "departureAt": "2019-08-24T14:15:22Z",
              "durationMinutes": 9007199254740991
            }
          ],
          "legId": "string",
          "marketingCarrier": {
            "conditionsOfCarriageUrl": "string",
            "iataCode": null,
            "logoLockupUrl": "string",
            "logoSymbolUrl": "string",
            "name": null
          },
          "marketingCarrierFlightNumber": "string",
          "operatingCarrier": {
            "conditionsOfCarriageUrl": "string",
            "iataCode": null,
            "logoLockupUrl": "string",
            "logoSymbolUrl": "string",
            "name": null
          },
          "operatingCarrierFlightNumber": "string",
          "origin": {
            "address": "string",
            "amenities": [
              "string"
            ],
            "city": "string",
            "country": "string",
            "countryCode": "string",
            "description": "string",
            "distanceFromSearch": {
              "unit": "km",
              "value": 0
            },
            "features": [
              "string"
            ],
            "fullAddress": "string",
            "gate": "string",
            "iataCode": "string",
            "internovaId": "string",
            "latitude": 0,
            "longitude": 0,
            "name": "string",
            "photos": [
              {}
            ],
            "placeId": "string",
            "region": "string",
            "source": "string",
            "state": "string",
            "terminal": "string",
            "timeZone": "string",
            "zipCode": "string"
          },
          "providerSegmentReference": "string",
          "seats": [
            {
              "passengerReference": "string",
              "price": {},
              "seatId": "string",
              "seatNumber": "string"
            }
          ],
          "services": [
            {
              "name": "string",
              "passengerReferences": [
                null
              ],
              "price": {},
              "serviceId": "string",
              "status": "CONFIRMED"
            }
          ]
        }
      ],
      "owner": {
        "code": "string",
        "logoAssetReference": "string",
        "name": "string"
      },
      "passengers": [
        {
          "count": 9007199254740991,
          "totalMinor": 9007199254740991,
          "type": "ADULT"
        }
      ],
      "policies": [
        {
          "allowed": true,
          "deadline": "2019-08-24T14:15:22Z",
          "exactCopy": "string",
          "kind": "CANCELLATION",
          "penalties": [
            {
              "amount": {},
              "from": "2019-08-24T14:15:22Z",
              "summary": "string"
            }
          ]
        }
      ],
      "priceSnapshot": {
        "baseMinor": 9007199254740991,
        "collector": "MULTIPLE",
        "currency": "string",
        "depositMinor": 9007199254740991,
        "discounts": [
          {
            "amountMinor": 9007199254740991,
            "code": "string",
            "label": "string"
          }
        ],
        "dueAtPropertyMinor": 9007199254740991,
        "dueLaterMinor": 9007199254740991,
        "dueNowMinor": 9007199254740991,
        "fees": [
          {
            "amountMinor": 9007199254740991,
            "code": "string",
            "label": "string"
          }
        ],
        "lineItems": [
          {
            "amountMinor": 9007199254740991,
            "code": "string",
            "label": "string"
          }
        ],
        "taxes": [
          {
            "amountMinor": 9007199254740991,
            "code": "string",
            "label": "string"
          }
        ],
        "totalMinor": 9007199254740991
      },
      "rules": {
        "afterDeparture": {
          "cancellation": {
            "allowed": true,
            "deadline": "2019-08-24T14:15:22Z",
            "penalty": {
              "amountMinor": 9007199254740991,
              "currency": "string"
            },
            "penaltyRange": {
              "currency": "string",
              "maximumAmountMinor": 9007199254740991,
              "minimumAmountMinor": 9007199254740991
            },
            "summary": "string"
          },
          "change": {
            "allowed": true,
            "deadline": "2019-08-24T14:15:22Z",
            "penalty": {
              "amountMinor": 9007199254740991,
              "currency": "string"
            },
            "penaltyRange": {
              "currency": "string",
              "maximumAmountMinor": 9007199254740991,
              "minimumAmountMinor": 9007199254740991
            },
            "summary": "string"
          }
        },
        "cancellation": {
          "allowed": true,
          "deadline": "2019-08-24T14:15:22Z",
          "penalty": {
            "amountMinor": 9007199254740991,
            "currency": "string"
          },
          "penaltyRange": {
            "currency": "string",
            "maximumAmountMinor": 9007199254740991,
            "minimumAmountMinor": 9007199254740991
          },
          "summary": "string"
        },
        "change": {
          "allowed": true,
          "deadline": "2019-08-24T14:15:22Z",
          "penalty": {
            "amountMinor": 9007199254740991,
            "currency": "string"
          },
          "penaltyRange": {
            "currency": "string",
            "maximumAmountMinor": 9007199254740991,
            "minimumAmountMinor": 9007199254740991
          },
          "summary": "string"
        }
      },
      "ticketingDeadline": "string"
    }
  }
]
'
```

### TypeScript

```typescript
const url = 'https://api.nicer.travel/trip-itinerary/<tripItineraryId>/webhook';
const options = {
  method: 'POST',
  headers: {
    'Content-Type': 'application/json',
    'x-nicer-webhook-signature': '<x-nicer-webhook-signature>'
  },
  body: JSON.stringify([
    {
      segment: {
        advisorInsights: 'string',
        amenities: ['string'],
        approvedAt: 'string',
        approvedBy: 'string',
        attachments: [{key: 'string', name: 'string', source: 'string', url: 'string'}],
        countTravelers: 0,
        createdAt: 'string',
        createdBy: 'string',
        currency: 'string',
        details: 'string',
        endDateTime: 'string',
        groupId: 'string',
        hash: 'string',
        id: 'string',
        images: [{key: 'string', name: 'string', source: 'string', url: 'string'}],
        isOnSitePayment: true,
        lastModifiedBy: 'string',
        location: {
          address: 'string',
          amenities: ['string'],
          city: 'string',
          country: 'string',
          countryCode: 'string',
          description: 'string',
          distanceFromSearch: {unit: 'km', value: 0},
          features: ['string'],
          fullAddress: 'string',
          gate: 'string',
          iataCode: 'string',
          internovaId: 'string',
          latitude: 0,
          longitude: 0,
          name: 'string',
          photos: [{key: 'string', name: 'string', url: 'string'}],
          placeId: 'string',
          region: 'string',
          source: 'string',
          state: 'string',
          terminal: 'string',
          timeZone: 'string',
          zipCode: 'string'
        },
        metadata: {property1: null, property2: null},
        price: 0,
        priceInUSD: 0,
        rate: 0,
        startDateTime: 'string',
        title: 'string',
        updatedAt: 'string',
        type: 'flight',
        baggageCharges: [
          {
            description: 'string',
            firstPiece: 9007199254740991,
            lastPiece: 9007199254740991,
            passengerReference: 'string',
            price: {amountMinor: 9007199254740991, currency: 'string'},
            segmentReferences: ['string'],
            size: {dimensions: null, linear: 158, unit: 'CM'},
            type: 'CARRY_ON',
            weight: {unit: 'KG', value: 23}
          }
        ],
        brandFeatures: [{availability: 'CHARGEABLE', name: 'string'}],
        cabin: 'BUSINESS',
        commercialSnapshot: {
          calculationInputs: {property1: true, property2: true},
          expectedAdvisorEarning: {
            amountMinor: 9007199254740991,
            currency: 'string',
            basis: 'string',
            rateBps: 10000
          },
          expectedSupplierCommission: {
            amountMinor: 9007199254740991,
            currency: 'string',
            basis: 'string',
            rateBps: 10000
          },
          expectedTravelerReward: {
            amountMinor: 9007199254740991,
            currency: 'string',
            basis: 'string',
            rateBps: 10000
          },
          policyVersion: 'string'
        },
        fareRules: [
          {
            category: 'ADVANCE_PURCHASE',
            exactCopy: 'string',
            passengerReferences: ['string']
          }
        ],
        flightIndex: 'string',
        flightType: 'one-way',
        inbound: [
          {
            aircraft: 'string',
            arrivingAt: null,
            baggage: [
              {
                description: 'string',
                passengerReference: 'string',
                pieces: 9007199254740991,
                serviceId: 'string',
                size: {dimensions: null, linear: 158, unit: 'CM'},
                status: 'AVAILABLE',
                type: 'CARRY_ON',
                weight: {unit: 'KG', value: 23}
              }
            ],
            bookingClass: 'string',
            brand: {code: 'string', name: 'string'},
            cabin: 'BUSINESS',
            departingAt: 'string',
            destination: {
              address: 'string',
              amenities: ['string'],
              city: 'string',
              country: 'string',
              countryCode: 'string',
              description: 'string',
              distanceFromSearch: {unit: 'km', value: 0},
              features: ['string'],
              fullAddress: 'string',
              gate: 'string',
              iataCode: 'string',
              internovaId: 'string',
              latitude: 0,
              longitude: 0,
              name: 'string',
              photos: [{}],
              placeId: 'string',
              region: 'string',
              source: 'string',
              state: 'string',
              terminal: 'string',
              timeZone: 'string',
              zipCode: 'string'
            },
            distance: 'string',
            duration: 'string',
            explicitNoFlightNumber: true,
            fareBasisCode: 'string',
            hiddenStops: [
              {
                airport: {},
                arrivalAt: '2019-08-24T14:15:22Z',
                departureAt: '2019-08-24T14:15:22Z',
                durationMinutes: 9007199254740991
              }
            ],
            legId: 'string',
            marketingCarrier: {
              conditionsOfCarriageUrl: 'string',
              iataCode: null,
              logoLockupUrl: 'string',
              logoSymbolUrl: 'string',
              name: null
            },
            marketingCarrierFlightNumber: 'string',
            operatingCarrier: {
              conditionsOfCarriageUrl: 'string',
              iataCode: null,
              logoLockupUrl: 'string',
              logoSymbolUrl: 'string',
              name: null
            },
            operatingCarrierFlightNumber: 'string',
            origin: {
              address: 'string',
              amenities: ['string'],
              city: 'string',
              country: 'string',
              countryCode: 'string',
              description: 'string',
              distanceFromSearch: {unit: 'km', value: 0},
              features: ['string'],
              fullAddress: 'string',
              gate: 'string',
              iataCode: 'string',
              internovaId: 'string',
              latitude: 0,
              longitude: 0,
              name: 'string',
              photos: [{}],
              placeId: 'string',
              region: 'string',
              source: 'string',
              state: 'string',
              terminal: 'string',
              timeZone: 'string',
              zipCode: 'string'
            },
            providerSegmentReference: 'string',
            seats: [
              {
                passengerReference: 'string',
                price: {},
                seatId: 'string',
                seatNumber: 'string'
              }
            ],
            services: [
              {
                name: 'string',
                passengerReferences: [null],
                price: {},
                serviceId: 'string',
                status: 'CONFIRMED'
              }
            ]
          }
        ],
        outbound: [
          {
            aircraft: 'string',
            arrivingAt: null,
            baggage: [
              {
                description: 'string',
                passengerReference: 'string',
                pieces: 9007199254740991,
                serviceId: 'string',
                size: {dimensions: null, linear: 158, unit: 'CM'},
                status: 'AVAILABLE',
                type: 'CARRY_ON',
                weight: {unit: 'KG', value: 23}
              }
            ],
            bookingClass: 'string',
            brand: {code: 'string', name: 'string'},
            cabin: 'BUSINESS',
            departingAt: 'string',
            destination: {
              address: 'string',
              amenities: ['string'],
              city: 'string',
              country: 'string',
              countryCode: 'string',
              description: 'string',
              distanceFromSearch: {unit: 'km', value: 0},
              features: ['string'],
              fullAddress: 'string',
              gate: 'string',
              iataCode: 'string',
              internovaId: 'string',
              latitude: 0,
              longitude: 0,
              name: 'string',
              photos: [{}],
              placeId: 'string',
              region: 'string',
              source: 'string',
              state: 'string',
              terminal: 'string',
              timeZone: 'string',
              zipCode: 'string'
            },
            distance: 'string',
            duration: 'string',
            explicitNoFlightNumber: true,
            fareBasisCode: 'string',
            hiddenStops: [
              {
                airport: {},
                arrivalAt: '2019-08-24T14:15:22Z',
                departureAt: '2019-08-24T14:15:22Z',
                durationMinutes: 9007199254740991
              }
            ],
            legId: 'string',
            marketingCarrier: {
              conditionsOfCarriageUrl: 'string',
              iataCode: null,
              logoLockupUrl: 'string',
              logoSymbolUrl: 'string',
              name: null
            },
            marketingCarrierFlightNumber: 'string',
            operatingCarrier: {
              conditionsOfCarriageUrl: 'string',
              iataCode: null,
              logoLockupUrl: 'string',
              logoSymbolUrl: 'string',
              name: null
            },
            operatingCarrierFlightNumber: 'string',
            origin: {
              address: 'string',
              amenities: ['string'],
              city: 'string',
              country: 'string',
              countryCode: 'string',
              description: 'string',
              distanceFromSearch: {unit: 'km', value: 0},
              features: ['string'],
              fullAddress: 'string',
              gate: 'string',
              iataCode: 'string',
              internovaId: 'string',
              latitude: 0,
              longitude: 0,
              name: 'string',
              photos: [{}],
              placeId: 'string',
              region: 'string',
              source: 'string',
              state: 'string',
              terminal: 'string',
              timeZone: 'string',
              zipCode: 'string'
            },
            providerSegmentReference: 'string',
            seats: [
              {
                passengerReference: 'string',
                price: {},
                seatId: 'string',
                seatNumber: 'string'
              }
            ],
            services: [
              {
                name: 'string',
                passengerReferences: [null],
                price: {},
                serviceId: 'string',
                status: 'CONFIRMED'
              }
            ]
          }
        ],
        owner: {code: 'string', logoAssetReference: 'string', name: 'string'},
        passengers: [{count: 9007199254740991, totalMinor: 9007199254740991, type: 'ADULT'}],
        policies: [
          {
            allowed: true,
            deadline: '2019-08-24T14:15:22Z',
            exactCopy: 'string',
            kind: 'CANCELLATION',
            penalties: [{amount: {}, from: '2019-08-24T14:15:22Z', summary: 'string'}]
          }
        ],
        priceSnapshot: {
          baseMinor: 9007199254740991,
          collector: 'MULTIPLE',
          currency: 'string',
          depositMinor: 9007199254740991,
          discounts: [{amountMinor: 9007199254740991, code: 'string', label: 'string'}],
          dueAtPropertyMinor: 9007199254740991,
          dueLaterMinor: 9007199254740991,
          dueNowMinor: 9007199254740991,
          fees: [{amountMinor: 9007199254740991, code: 'string', label: 'string'}],
          lineItems: [{amountMinor: 9007199254740991, code: 'string', label: 'string'}],
          taxes: [{amountMinor: 9007199254740991, code: 'string', label: 'string'}],
          totalMinor: 9007199254740991
        },
        rules: {
          afterDeparture: {
            cancellation: {
              allowed: true,
              deadline: '2019-08-24T14:15:22Z',
              penalty: {amountMinor: 9007199254740991, currency: 'string'},
              penaltyRange: {
                currency: 'string',
                maximumAmountMinor: 9007199254740991,
                minimumAmountMinor: 9007199254740991
              },
              summary: 'string'
            },
            change: {
              allowed: true,
              deadline: '2019-08-24T14:15:22Z',
              penalty: {amountMinor: 9007199254740991, currency: 'string'},
              penaltyRange: {
                currency: 'string',
                maximumAmountMinor: 9007199254740991,
                minimumAmountMinor: 9007199254740991
              },
              summary: 'string'
            }
          },
          cancellation: {
            allowed: true,
            deadline: '2019-08-24T14:15:22Z',
            penalty: {amountMinor: 9007199254740991, currency: 'string'},
            penaltyRange: {
              currency: 'string',
              maximumAmountMinor: 9007199254740991,
              minimumAmountMinor: 9007199254740991
            },
            summary: 'string'
          },
          change: {
            allowed: true,
            deadline: '2019-08-24T14:15:22Z',
            penalty: {amountMinor: 9007199254740991, currency: 'string'},
            penaltyRange: {
              currency: 'string',
              maximumAmountMinor: 9007199254740991,
              minimumAmountMinor: 9007199254740991
            },
            summary: 'string'
          }
        },
        ticketingDeadline: 'string'
      }
    }
  ])
};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "https://api.nicer.travel/trip-itinerary/<tripItineraryId>/webhook"

payload = [{ "segment": {
            "advisorInsights": "string",
            "amenities": ["string"],
            "approvedAt": "string",
            "approvedBy": "string",
            "attachments": [
                {
                    "key": "string",
                    "name": "string",
                    "source": "string",
                    "url": "string"
                }
            ],
            "countTravelers": 0,
            "createdAt": "string",
            "createdBy": "string",
            "currency": "string",
            "details": "string",
            "endDateTime": "string",
            "groupId": "string",
            "hash": "string",
            "id": "string",
            "images": [
                {
                    "key": "string",
                    "name": "string",
                    "source": "string",
                    "url": "string"
                }
            ],
            "isOnSitePayment": True,
            "lastModifiedBy": "string",
            "location": {
                "address": "string",
                "amenities": ["string"],
                "city": "string",
                "country": "string",
                "countryCode": "string",
                "description": "string",
                "distanceFromSearch": {
                    "unit": "km",
                    "value": 0
                },
                "features": ["string"],
                "fullAddress": "string",
                "gate": "string",
                "iataCode": "string",
                "internovaId": "string",
                "latitude": 0,
                "longitude": 0,
                "name": "string",
                "photos": [
                    {
                        "key": "string",
                        "name": "string",
                        "url": "string"
                    }
                ],
                "placeId": "string",
                "region": "string",
                "source": "string",
                "state": "string",
                "terminal": "string",
                "timeZone": "string",
                "zipCode": "string"
            },
            "metadata": {
                "property1": None,
                "property2": None
            },
            "price": 0,
            "priceInUSD": 0,
            "rate": 0,
            "startDateTime": "string",
            "title": "string",
            "updatedAt": "string",
            "type": "flight",
            "baggageCharges": [
                {
                    "description": "string",
                    "firstPiece": 9007199254740991,
                    "lastPiece": 9007199254740991,
                    "passengerReference": "string",
                    "price": {
                        "amountMinor": 9007199254740991,
                        "currency": "string"
                    },
                    "segmentReferences": ["string"],
                    "size": {
                        "dimensions": None,
                        "linear": 158,
                        "unit": "CM"
                    },
                    "type": "CARRY_ON",
                    "weight": {
                        "unit": "KG",
                        "value": 23
                    }
                }
            ],
            "brandFeatures": [
                {
                    "availability": "CHARGEABLE",
                    "name": "string"
                }
            ],
            "cabin": "BUSINESS",
            "commercialSnapshot": {
                "calculationInputs": {
                    "property1": True,
                    "property2": True
                },
                "expectedAdvisorEarning": {
                    "amountMinor": 9007199254740991,
                    "currency": "string",
                    "basis": "string",
                    "rateBps": 10000
                },
                "expectedSupplierCommission": {
                    "amountMinor": 9007199254740991,
                    "currency": "string",
                    "basis": "string",
                    "rateBps": 10000
                },
                "expectedTravelerReward": {
                    "amountMinor": 9007199254740991,
                    "currency": "string",
                    "basis": "string",
                    "rateBps": 10000
                },
                "policyVersion": "string"
            },
            "fareRules": [
                {
                    "category": "ADVANCE_PURCHASE",
                    "exactCopy": "string",
                    "passengerReferences": ["string"]
                }
            ],
            "flightIndex": "string",
            "flightType": "one-way",
            "inbound": [
                {
                    "aircraft": "string",
                    "arrivingAt": None,
                    "baggage": [
                        {
                            "description": "string",
                            "passengerReference": "string",
                            "pieces": 9007199254740991,
                            "serviceId": "string",
                            "size": {
                                "dimensions": None,
                                "linear": 158,
                                "unit": "CM"
                            },
                            "status": "AVAILABLE",
                            "type": "CARRY_ON",
                            "weight": {
                                "unit": "KG",
                                "value": 23
                            }
                        }
                    ],
                    "bookingClass": "string",
                    "brand": {
                        "code": "string",
                        "name": "string"
                    },
                    "cabin": "BUSINESS",
                    "departingAt": "string",
                    "destination": {
                        "address": "string",
                        "amenities": ["string"],
                        "city": "string",
                        "country": "string",
                        "countryCode": "string",
                        "description": "string",
                        "distanceFromSearch": {
                            "unit": "km",
                            "value": 0
                        },
                        "features": ["string"],
                        "fullAddress": "string",
                        "gate": "string",
                        "iataCode": "string",
                        "internovaId": "string",
                        "latitude": 0,
                        "longitude": 0,
                        "name": "string",
                        "photos": [{}],
                        "placeId": "string",
                        "region": "string",
                        "source": "string",
                        "state": "string",
                        "terminal": "string",
                        "timeZone": "string",
                        "zipCode": "string"
                    },
                    "distance": "string",
                    "duration": "string",
                    "explicitNoFlightNumber": True,
                    "fareBasisCode": "string",
                    "hiddenStops": [
                        {
                            "airport": {},
                            "arrivalAt": "2019-08-24T14:15:22Z",
                            "departureAt": "2019-08-24T14:15:22Z",
                            "durationMinutes": 9007199254740991
                        }
                    ],
                    "legId": "string",
                    "marketingCarrier": {
                        "conditionsOfCarriageUrl": "string",
                        "iataCode": None,
                        "logoLockupUrl": "string",
                        "logoSymbolUrl": "string",
                        "name": None
                    },
                    "marketingCarrierFlightNumber": "string",
                    "operatingCarrier": {
                        "conditionsOfCarriageUrl": "string",
                        "iataCode": None,
                        "logoLockupUrl": "string",
                        "logoSymbolUrl": "string",
                        "name": None
                    },
                    "operatingCarrierFlightNumber": "string",
                    "origin": {
                        "address": "string",
                        "amenities": ["string"],
                        "city": "string",
                        "country": "string",
                        "countryCode": "string",
                        "description": "string",
                        "distanceFromSearch": {
                            "unit": "km",
                            "value": 0
                        },
                        "features": ["string"],
                        "fullAddress": "string",
                        "gate": "string",
                        "iataCode": "string",
                        "internovaId": "string",
                        "latitude": 0,
                        "longitude": 0,
                        "name": "string",
                        "photos": [{}],
                        "placeId": "string",
                        "region": "string",
                        "source": "string",
                        "state": "string",
                        "terminal": "string",
                        "timeZone": "string",
                        "zipCode": "string"
                    },
                    "providerSegmentReference": "string",
                    "seats": [
                        {
                            "passengerReference": "string",
                            "price": {},
                            "seatId": "string",
                            "seatNumber": "string"
                        }
                    ],
                    "services": [
                        {
                            "name": "string",
                            "passengerReferences": [None],
                            "price": {},
                            "serviceId": "string",
                            "status": "CONFIRMED"
                        }
                    ]
                }
            ],
            "outbound": [
                {
                    "aircraft": "string",
                    "arrivingAt": None,
                    "baggage": [
                        {
                            "description": "string",
                            "passengerReference": "string",
                            "pieces": 9007199254740991,
                            "serviceId": "string",
                            "size": {
                                "dimensions": None,
                                "linear": 158,
                                "unit": "CM"
                            },
                            "status": "AVAILABLE",
                            "type": "CARRY_ON",
                            "weight": {
                                "unit": "KG",
                                "value": 23
                            }
                        }
                    ],
                    "bookingClass": "string",
                    "brand": {
                        "code": "string",
                        "name": "string"
                    },
                    "cabin": "BUSINESS",
                    "departingAt": "string",
                    "destination": {
                        "address": "string",
                        "amenities": ["string"],
                        "city": "string",
                        "country": "string",
                        "countryCode": "string",
                        "description": "string",
                        "distanceFromSearch": {
                            "unit": "km",
                            "value": 0
                        },
                        "features": ["string"],
                        "fullAddress": "string",
                        "gate": "string",
                        "iataCode": "string",
                        "internovaId": "string",
                        "latitude": 0,
                        "longitude": 0,
                        "name": "string",
                        "photos": [{}],
                        "placeId": "string",
                        "region": "string",
                        "source": "string",
                        "state": "string",
                        "terminal": "string",
                        "timeZone": "string",
                        "zipCode": "string"
                    },
                    "distance": "string",
                    "duration": "string",
                    "explicitNoFlightNumber": True,
                    "fareBasisCode": "string",
                    "hiddenStops": [
                        {
                            "airport": {},
                            "arrivalAt": "2019-08-24T14:15:22Z",
                            "departureAt": "2019-08-24T14:15:22Z",
                            "durationMinutes": 9007199254740991
                        }
                    ],
                    "legId": "string",
                    "marketingCarrier": {
                        "conditionsOfCarriageUrl": "string",
                        "iataCode": None,
                        "logoLockupUrl": "string",
                        "logoSymbolUrl": "string",
                        "name": None
                    },
                    "marketingCarrierFlightNumber": "string",
                    "operatingCarrier": {
                        "conditionsOfCarriageUrl": "string",
                        "iataCode": None,
                        "logoLockupUrl": "string",
                        "logoSymbolUrl": "string",
                        "name": None
                    },
                    "operatingCarrierFlightNumber": "string",
                    "origin": {
                        "address": "string",
                        "amenities": ["string"],
                        "city": "string",
                        "country": "string",
                        "countryCode": "string",
                        "description": "string",
                        "distanceFromSearch": {
                            "unit": "km",
                            "value": 0
                        },
                        "features": ["string"],
                        "fullAddress": "string",
                        "gate": "string",
                        "iataCode": "string",
                        "internovaId": "string",
                        "latitude": 0,
                        "longitude": 0,
                        "name": "string",
                        "photos": [{}],
                        "placeId": "string",
                        "region": "string",
                        "source": "string",
                        "state": "string",
                        "terminal": "string",
                        "timeZone": "string",
                        "zipCode": "string"
                    },
                    "providerSegmentReference": "string",
                    "seats": [
                        {
                            "passengerReference": "string",
                            "price": {},
                            "seatId": "string",
                            "seatNumber": "string"
                        }
                    ],
                    "services": [
                        {
                            "name": "string",
                            "passengerReferences": [None],
                            "price": {},
                            "serviceId": "string",
                            "status": "CONFIRMED"
                        }
                    ]
                }
            ],
            "owner": {
                "code": "string",
                "logoAssetReference": "string",
                "name": "string"
            },
            "passengers": [
                {
                    "count": 9007199254740991,
                    "totalMinor": 9007199254740991,
                    "type": "ADULT"
                }
            ],
            "policies": [
                {
                    "allowed": True,
                    "deadline": "2019-08-24T14:15:22Z",
                    "exactCopy": "string",
                    "kind": "CANCELLATION",
                    "penalties": [
                        {
                            "amount": {},
                            "from": "2019-08-24T14:15:22Z",
                            "summary": "string"
                        }
                    ]
                }
            ],
            "priceSnapshot": {
                "baseMinor": 9007199254740991,
                "collector": "MULTIPLE",
                "currency": "string",
                "depositMinor": 9007199254740991,
                "discounts": [
                    {
                        "amountMinor": 9007199254740991,
                        "code": "string",
                        "label": "string"
                    }
                ],
                "dueAtPropertyMinor": 9007199254740991,
                "dueLaterMinor": 9007199254740991,
                "dueNowMinor": 9007199254740991,
                "fees": [
                    {
                        "amountMinor": 9007199254740991,
                        "code": "string",
                        "label": "string"
                    }
                ],
                "lineItems": [
                    {
                        "amountMinor": 9007199254740991,
                        "code": "string",
                        "label": "string"
                    }
                ],
                "taxes": [
                    {
                        "amountMinor": 9007199254740991,
                        "code": "string",
                        "label": "string"
                    }
                ],
                "totalMinor": 9007199254740991
            },
            "rules": {
                "afterDeparture": {
                    "cancellation": {
                        "allowed": True,
                        "deadline": "2019-08-24T14:15:22Z",
                        "penalty": {
                            "amountMinor": 9007199254740991,
                            "currency": "string"
                        },
                        "penaltyRange": {
                            "currency": "string",
                            "maximumAmountMinor": 9007199254740991,
                            "minimumAmountMinor": 9007199254740991
                        },
                        "summary": "string"
                    },
                    "change": {
                        "allowed": True,
                        "deadline": "2019-08-24T14:15:22Z",
                        "penalty": {
                            "amountMinor": 9007199254740991,
                            "currency": "string"
                        },
                        "penaltyRange": {
                            "currency": "string",
                            "maximumAmountMinor": 9007199254740991,
                            "minimumAmountMinor": 9007199254740991
                        },
                        "summary": "string"
                    }
                },
                "cancellation": {
                    "allowed": True,
                    "deadline": "2019-08-24T14:15:22Z",
                    "penalty": {
                        "amountMinor": 9007199254740991,
                        "currency": "string"
                    },
                    "penaltyRange": {
                        "currency": "string",
                        "maximumAmountMinor": 9007199254740991,
                        "minimumAmountMinor": 9007199254740991
                    },
                    "summary": "string"
                },
                "change": {
                    "allowed": True,
                    "deadline": "2019-08-24T14:15:22Z",
                    "penalty": {
                        "amountMinor": 9007199254740991,
                        "currency": "string"
                    },
                    "penaltyRange": {
                        "currency": "string",
                        "maximumAmountMinor": 9007199254740991,
                        "minimumAmountMinor": 9007199254740991
                    },
                    "summary": "string"
                }
            },
            "ticketingDeadline": "string"
        } }]
headers = {
    "Content-Type": "application/json",
    "x-nicer-webhook-signature": "<x-nicer-webhook-signature>"
}

response = requests.post(url, json=payload, headers=headers)

print(response.text)
```

## Responses

### 200

OK

### 400

Request failed. `errorCode` is stable; `errorMessage` is for humans.

#### Example

```json
{
  "errorCode": "string",
  "errorMessage": "string"
}
```

- `errorCode` (`tripItinerary.webhook.response.400.errorCode`; string, required)
- `errorMessage` (`tripItinerary.webhook.response.400.errorMessage`; string, required)

### 401

Request failed. `errorCode` is stable; `errorMessage` is for humans.

#### Example

```json
{
  "errorCode": "string",
  "errorMessage": "string"
}
```

- `errorCode` (`tripItinerary.webhook.response.401.errorCode`; string, required)
- `errorMessage` (`tripItinerary.webhook.response.401.errorMessage`; string, required)


Source: https://docs.nicer.travel/api/Trip-itinerary/tripItinerary.webhook/index.md
