---
title: "Update my travel profile"
---

> 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.

# Update my travel profile

Path: Nicer API › Notes and tasks

`PUT /crm/me`

URL: `https://api.nicer.travel/crm/me`

Saves the signed-in person's own traveler at the agency they act in, adding it on the first change, and the travelers of the children, spouse or partner they fill in for there, then answers as GET /crm/me does. The caller is a person signed in to Nicer, with their id token as Authorization: Bearer <token>; x-nicer-company names the agency, and a person who belongs to one agency may leave it out. They may change only the sections of TravelerSelfUpdate: identity, contact, documents, important dates and preferences, never the agency's own fields. Send each traveler's revision; the change that adds their own traveler needs name instead. The traveler is saved first and then each family member in the order sent: a refusal stops there and keeps what was saved before it. Errors: 400 ERROR_BODY_VALIDATION, 400 ERROR_COMPANY_REQUIRED without an agency, 401 when the token is missing or invalid, 403 ERROR_DO_NOT_HAVE_PERMISSION for an agency the caller does not belong to, 404 ERROR_ITEM_NOT_FOUND for a family member they may not fill in for, 409 CRM_REVISION_CONFLICT.

## Authentication

- `bearerAuth`, http bearer, header `Authorization`, format `JWT`

## Header parameters

- `X-Nicer-CRM-Contract` (`crm.me.update.header.X-Nicer-CRM-Contract`; string, required)
  - one of `"resource"` · example: `"resource"`

## Request body

_Required._

- `family` (`crm.me.update.family`; array of object, optional) — Changes to the family members the person may fill in for, at most 10, saved one after the other in the order sent.
  - `travelerId` (`crm.me.update.family.travelerId`; string, required) — The family member's traveler, one of the family GET /crm/me answers; any other answers 404 ERROR_ITEM_NOT_FOUND.
    - maxLength: `64` · minLength: `1`
  - `update` (`crm.me.update.family.update`; object, required) — The change to the family member's traveler, with the revision read.
    - `address` (`crm.me.update.family.update.address`; any of, optional) — The postal address; null clears it.
      - any of the following:
        - `PersonAddress`
          - `address1` (`PersonAddress.address1`; string, required)
            - maxLength: `200` · minLength: `1`
          - `city` (`PersonAddress.city`; string, required)
            - maxLength: `100` · minLength: `1`
          - `countryCode` (`PersonAddress.countryCode`; string, required)
            - pattern: `^[A-Z]{2}$`
          - `postalCode` (`PersonAddress.postalCode`; string, required)
            - maxLength: `20` · minLength: `1`
          - `stateCode` (`PersonAddress.stateCode`; string, required)
            - maxLength: `100` · minLength: `1`
        - `null`
    - `birthDate` (`crm.me.update.family.update.birthDate`; any of, optional) — Date of birth, YYYY-MM-DD; null clears it.
      - any of the following: `string`, `null`
    - `contact` (`crm.me.update.family.update.contact`; object, optional) — The email and phone, both replaced; the phone in E.164.
      - `email` (`crm.me.update.family.update.contact.email`; any of, required)
        - any of the following: `string`, `null`
      - `phone` (`crm.me.update.family.update.contact.phone`; any of, required)
        - any of the following: `E164Phone`, `null`
    - `documents` (`crm.me.update.family.update.documents`; array of object, optional) — Every travel document to keep, at most 12: a stored document left out is removed, one sent with its documentId is replaced, and one without is added. Absent leaves the documents as they are.
      - `expirationDate` (`crm.me.update.family.update.documents.expirationDate`; any of, required) — The day the document expires, YYYY-MM-DD; null for one that does not.
        - any of the following: `string`, `null`
      - `issuingCountryCode` (`crm.me.update.family.update.documents.issuingCountryCode`; any of, required) — The country that issued the document, as an ISO 3166-1 alpha-2 country code; null when unknown.
        - any of the following: `CountryCode`, `null`
      - `kind` (`crm.me.update.family.update.documents.kind`; string, required) — What the document is.
        - one of `"DRIVER_LICENSE"`, `"KNOWN_TRAVELER_NUMBER"`, `"NATIONAL_ID"`, `"PASSPORT"`, `"REDRESS_NUMBER"`, `"RESIDENCE_PERMIT"`, `"VISA"`
      - `number` (`crm.me.update.family.update.documents.number`; string, required) — The document's number, in full, 1 to 100 characters.
        - maxLength: `100` · minLength: `1`
      - `citizenshipCountry` (`crm.me.update.family.update.documents.citizenshipCountry`; any of, optional) — The citizenship stated on this document, as an ISO 3166-1 alpha-2 country code; it is not always the person's nationality. Null or absent when the document states none.
        - any of the following: `CountryCode`, `null`
      - `issueDate` (`crm.me.update.family.update.documents.issueDate`; any of, optional) — The day the document was issued, YYYY-MM-DD; null or absent when unknown.
        - any of the following: `string`, `null`
      - `placeOfBirth` (`crm.me.update.family.update.documents.placeOfBirth`; any of, optional) — The place of birth printed on the document; null or absent when unknown.
        - any of the following: `string`, `null`
      - `placeOfIssue` (`crm.me.update.family.update.documents.placeOfIssue`; any of, optional) — Where the document was issued; null or absent when unknown.
        - any of the following: `string`, `null`
      - `documentId` (`crm.me.update.family.update.documents.documentId`; string, optional) — The id of the stored document this one replaces; absent adds a new document.
        - minLength: `1`
      - `label` (`crm.me.update.family.update.documents.label`; any of, optional) — What the document is to people, e.g. "ESTA" or "Schengen", 1 to 60 characters; null or absent for none.
        - any of the following: `string`, `null`
    - `frequentFlyerPrograms` (`crm.me.update.family.update.frequentFlyerPrograms`; array of object, optional) — Every airline loyalty membership to keep, at most 8.
      - `airlineIataCode` (`crm.me.update.family.update.frequentFlyerPrograms.airlineIataCode`; string, required)
        - pattern: `^[A-Z0-9]{2,3}$`
      - `memberNumber` (`crm.me.update.family.update.frequentFlyerPrograms.memberNumber`; string, required)
        - maxLength: `100` · minLength: `1`
    - `importantDates` (`crm.me.update.family.update.importantDates`; array of object, optional) — Every important date to keep, at most 20: a stored date left out is removed, one sent with its dateId is replaced, and one without is added.
      - `date` (`crm.me.update.family.update.importantDates.date`; string, required) — The date, YYYY-MM-DD.
        - format: `date` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$`
      - `kind` (`crm.me.update.family.update.importantDates.kind`; string, required) — What kind of date it is.
        - one of `"ANNIVERSARY"`, `"OTHER"`
      - `dateId` (`crm.me.update.family.update.importantDates.dateId`; string, optional) — The id of the stored date this one replaces; absent adds a new date.
        - minLength: `1`
      - `label` (`crm.me.update.family.update.importantDates.label`; any of, optional) — What the date is to people, 1 to 80 characters; null or absent when the kind says enough.
        - any of the following: `string`, `null`
    - `marketingConsent` (`crm.me.update.family.update.marketingConsent`; object, optional) — Whether the traveler agreed to marketing messages, per channel.
      - `email` (`crm.me.update.family.update.marketingConsent.email`; boolean, required) — Whether the traveler agreed to marketing by email.
      - `sms` (`crm.me.update.family.update.marketingConsent.sms`; boolean, required) — Whether the traveler agreed to marketing by SMS.
      - `whatsapp` (`crm.me.update.family.update.marketingConsent.whatsapp`; boolean, required) — Whether the traveler agreed to marketing on WhatsApp.
    - `name` (`crm.me.update.family.update.name`; object, optional) — The legal name, as printed on the travel document. Required on the change that adds the person's own traveler at an agency.
      - `familyName` (`crm.me.update.family.update.name.familyName`; string, required)
        - maxLength: `100` · minLength: `1`
      - `givenName` (`crm.me.update.family.update.name.givenName`; string, required)
        - maxLength: `100` · minLength: `1`
      - `middleName` (`crm.me.update.family.update.name.middleName`; any of, required)
        - any of the following: `string`, `null`
    - `nationalityCountryCode` (`crm.me.update.family.update.nationalityCountryCode`; any of, optional) — Nationality, as an ISO 3166-1 alpha-2 country code; null clears it.
      - any of the following: `CountryCode`, `null`
    - `preferredChannel` (`crm.me.update.family.update.preferredChannel`; any of, optional) — How the traveler prefers to be contacted; null clears it.
      - any of the following: `PreferredChannel`, `null`
    - `preferredLanguage` (`crm.me.update.family.update.preferredLanguage`; any of, optional) — The language to write to the traveler in, e.g. es or en-US; null clears it.
      - any of the following: `LanguageTag`, `null`
    - `preferredName` (`crm.me.update.family.update.preferredName`; any of, optional) — The name the traveler goes by, 1 to 100 characters; null clears it.
      - any of the following: `string`, `null`
    - `profile` (`crm.me.update.family.update.profile`; object, optional) — Sections of the travel profile to replace: a section left out is kept and null clears it.
      - `accessibility` (`crm.me.update.family.update.profile.accessibility`; any of, optional)
        - any of the following:
          - `Accessibility`
            - `medicalNotes` (`Accessibility.medicalNotes`; any of, required)
              - any of the following: `string`, `null`
            - `mobility` (`Accessibility.mobility`; any of, required)
              - any of the following:
                - `string`: one of `"NONE"`, `"REDUCED_MOBILITY"`, `"WHEELCHAIR_ASSISTANCE"`, `"WHEELCHAIR_OWN"`
                - `null`
          - `null`
      - `air` (`crm.me.update.family.update.profile.air`; any of, optional)
        - any of the following:
          - `AirPreferences`
            - `cabinClass` (`AirPreferences.cabinClass`; any of, required)
              - any of the following:
                - `string`: one of `"BUSINESS"`, `"ECONOMY"`, `"FIRST"`, `"PREMIUM_ECONOMY"`
                - `null`
            - `mealCode` (`AirPreferences.mealCode`; any of, required)
              - any of the following: `string`, `null`
            - `notes` (`AirPreferences.notes`; any of, required)
              - any of the following: `string`, `null`
            - `preferredAirlineCodes` (`AirPreferences.preferredAirlineCodes`; array of string, required)
              - pattern: `^[A-Z0-9]{2,3}$`
            - `preferredAirportCodes` (`AirPreferences.preferredAirportCodes`; array of string, required)
              - pattern: `^[A-Z]{3}$`
            - `seat` (`AirPreferences.seat`; any of, required)
              - any of the following:
                - `string`: one of `"AISLE"`, `"ANY"`, `"WINDOW"`
                - `null`
          - `null`
      - `dietary` (`crm.me.update.family.update.profile.dietary`; any of, optional)
        - any of the following:
          - `Dietary`
            - `codes` (`Dietary.codes`; array of string, required)
              - one of `"DIABETIC"`, `"GLUTEN_FREE"`, `"HALAL"`, `"KOSHER"`, `"LACTOSE_FREE"`, `"LOW_SODIUM"`, `"NUT_ALLERGY"`, `"OTHER"`, `"SHELLFISH_ALLERGY"`, `"VEGAN"`, `"VEGETARIAN"`
            - `notes` (`Dietary.notes`; any of, required)
              - any of the following: `string`, `null`
          - `null`
      - `emergencyContacts` (`crm.me.update.family.update.profile.emergencyContacts`; array of object, optional)
        - `name` (`crm.me.update.family.update.profile.emergencyContacts.name`; string, required)
          - maxLength: `200` · minLength: `1`
        - `phone` (`crm.me.update.family.update.profile.emergencyContacts.phone`; any of, required)
          - any of the following: `E164Phone`, `null`
        - `relationship` (`crm.me.update.family.update.profile.emergencyContacts.relationship`; any of, required)
          - any of the following: `string`, `null`
        - `travelerId` (`crm.me.update.family.update.profile.emergencyContacts.travelerId`; any of, required)
          - any of the following: `string`, `null`
      - `hotel` (`crm.me.update.family.update.profile.hotel`; any of, optional)
        - any of the following:
          - `HotelPreferences`
            - `bed` (`HotelPreferences.bed`; any of, required)
              - any of the following:
                - `string`: one of `"ANY"`, `"KING"`, `"QUEEN"`, `"TWIN"`
                - `null`
            - `floor` (`HotelPreferences.floor`; any of, required)
              - any of the following:
                - `string`: one of `"ANY"`, `"HIGH"`, `"LOW"`
                - `null`
            - `notes` (`HotelPreferences.notes`; any of, required)
              - any of the following: `string`, `null`
            - `preferredBrands` (`HotelPreferences.preferredBrands`; array of string, required)
              - maxLength: `80` · minLength: `1`
            - `roomType` (`HotelPreferences.roomType`; any of, required)
              - any of the following: `string`, `null`
          - `null`
      - `interests` (`crm.me.update.family.update.profile.interests`; any of, optional)
        - any of the following:
          - `Interests`
            - `bucketList` (`Interests.bucketList`; any of, required)
              - any of the following: `string`, `null`
            - `budgetNotes` (`Interests.budgetNotes`; any of, required)
              - any of the following: `string`, `null`
            - `interests` (`Interests.interests`; array of string, required)
              - maxLength: `60` · minLength: `1`
            - `travelStyles` (`Interests.travelStyles`; array of string, required)
              - maxLength: `60` · minLength: `1`
          - `null`
      - `loyaltyPrograms` (`crm.me.update.family.update.profile.loyaltyPrograms`; array of object, optional)
        - `number` (`crm.me.update.family.update.profile.loyaltyPrograms.number`; string, required)
          - maxLength: `255` · minLength: `1`
        - `receiverCode` (`crm.me.update.family.update.profile.loyaltyPrograms.receiverCode`; string, optional)
          - maxLength: `255` · minLength: `1`
        - `supplierCode` (`crm.me.update.family.update.profile.loyaltyPrograms.supplierCode`; string, optional)
          - maxLength: `255` · minLength: `1`
        - `tier` (`crm.me.update.family.update.profile.loyaltyPrograms.tier`; string, optional)
          - maxLength: `255` · minLength: `1`
        - `type` (`crm.me.update.family.update.profile.loyaltyPrograms.type`; string, optional)
          - maxLength: `255` · minLength: `1`
      - `pets` (`crm.me.update.family.update.profile.pets`; array of object, optional)
        - `name` (`crm.me.update.family.update.profile.pets.name`; string, required)
          - maxLength: `80` · minLength: `1`
        - `notes` (`crm.me.update.family.update.profile.pets.notes`; any of, required)
          - any of the following: `string`, `null`
        - `species` (`crm.me.update.family.update.profile.pets.species`; string, required)
          - maxLength: `60` · minLength: `1`
        - `weightKg` (`crm.me.update.family.update.profile.pets.weightKg`; any of, required)
          - any of the following: `number`, `null`
    - `residenceCountryCode` (`crm.me.update.family.update.residenceCountryCode`; any of, optional) — Country of residence, as an ISO 3166-1 alpha-2 country code; null clears it.
      - any of the following: `CountryCode`, `null`
    - `revision` (`crm.me.update.family.update.revision`; integer, optional) — The revision read, required for a traveler that exists; left out only on the change that adds the person's own traveler. A traveler changed since answers 409 CRM_REVISION_CONFLICT: read it again and reapply.
      - maximum: `9007199254740991` · minimum: `1`
    - `sex` (`crm.me.update.family.update.sex`; any of, optional) — The sex marker on the travel document; null clears it.
      - any of the following: `ParticipantSex`, `null`
- `traveler` (`crm.me.update.traveler`; object, optional) — The change to the person's own traveler at the agency they act in; the first one adds it and must include name.
  - `address` (`crm.me.update.traveler.address`; any of, optional) — The postal address; null clears it.
    - any of the following:
      - `PersonAddress`
        - `address1` (`PersonAddress.address1`; string, required)
          - maxLength: `200` · minLength: `1`
        - `city` (`PersonAddress.city`; string, required)
          - maxLength: `100` · minLength: `1`
        - `countryCode` (`PersonAddress.countryCode`; string, required)
          - pattern: `^[A-Z]{2}$`
        - `postalCode` (`PersonAddress.postalCode`; string, required)
          - maxLength: `20` · minLength: `1`
        - `stateCode` (`PersonAddress.stateCode`; string, required)
          - maxLength: `100` · minLength: `1`
      - `null`
  - `birthDate` (`crm.me.update.traveler.birthDate`; any of, optional) — Date of birth, YYYY-MM-DD; null clears it.
    - any of the following: `string`, `null`
  - `contact` (`crm.me.update.traveler.contact`; object, optional) — The email and phone, both replaced; the phone in E.164.
    - `email` (`crm.me.update.traveler.contact.email`; any of, required)
      - any of the following: `string`, `null`
    - `phone` (`crm.me.update.traveler.contact.phone`; any of, required)
      - any of the following: `E164Phone`, `null`
  - `documents` (`crm.me.update.traveler.documents`; array of object, optional) — Every travel document to keep, at most 12: a stored document left out is removed, one sent with its documentId is replaced, and one without is added. Absent leaves the documents as they are.
    - `expirationDate` (`crm.me.update.traveler.documents.expirationDate`; any of, required) — The day the document expires, YYYY-MM-DD; null for one that does not.
      - any of the following: `string`, `null`
    - `issuingCountryCode` (`crm.me.update.traveler.documents.issuingCountryCode`; any of, required) — The country that issued the document, as an ISO 3166-1 alpha-2 country code; null when unknown.
      - any of the following: `CountryCode`, `null`
    - `kind` (`crm.me.update.traveler.documents.kind`; string, required) — What the document is.
      - one of `"DRIVER_LICENSE"`, `"KNOWN_TRAVELER_NUMBER"`, `"NATIONAL_ID"`, `"PASSPORT"`, `"REDRESS_NUMBER"`, `"RESIDENCE_PERMIT"`, `"VISA"`
    - `number` (`crm.me.update.traveler.documents.number`; string, required) — The document's number, in full, 1 to 100 characters.
      - maxLength: `100` · minLength: `1`
    - `citizenshipCountry` (`crm.me.update.traveler.documents.citizenshipCountry`; any of, optional) — The citizenship stated on this document, as an ISO 3166-1 alpha-2 country code; it is not always the person's nationality. Null or absent when the document states none.
      - any of the following: `CountryCode`, `null`
    - `issueDate` (`crm.me.update.traveler.documents.issueDate`; any of, optional) — The day the document was issued, YYYY-MM-DD; null or absent when unknown.
      - any of the following: `string`, `null`
    - `placeOfBirth` (`crm.me.update.traveler.documents.placeOfBirth`; any of, optional) — The place of birth printed on the document; null or absent when unknown.
      - any of the following: `string`, `null`
    - `placeOfIssue` (`crm.me.update.traveler.documents.placeOfIssue`; any of, optional) — Where the document was issued; null or absent when unknown.
      - any of the following: `string`, `null`
    - `documentId` (`crm.me.update.traveler.documents.documentId`; string, optional) — The id of the stored document this one replaces; absent adds a new document.
      - minLength: `1`
    - `label` (`crm.me.update.traveler.documents.label`; any of, optional) — What the document is to people, e.g. "ESTA" or "Schengen", 1 to 60 characters; null or absent for none.
      - any of the following: `string`, `null`
  - `frequentFlyerPrograms` (`crm.me.update.traveler.frequentFlyerPrograms`; array of object, optional) — Every airline loyalty membership to keep, at most 8.
    - `airlineIataCode` (`crm.me.update.traveler.frequentFlyerPrograms.airlineIataCode`; string, required)
      - pattern: `^[A-Z0-9]{2,3}$`
    - `memberNumber` (`crm.me.update.traveler.frequentFlyerPrograms.memberNumber`; string, required)
      - maxLength: `100` · minLength: `1`
  - `importantDates` (`crm.me.update.traveler.importantDates`; array of object, optional) — Every important date to keep, at most 20: a stored date left out is removed, one sent with its dateId is replaced, and one without is added.
    - `date` (`crm.me.update.traveler.importantDates.date`; string, required) — The date, YYYY-MM-DD.
      - format: `date` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$`
    - `kind` (`crm.me.update.traveler.importantDates.kind`; string, required) — What kind of date it is.
      - one of `"ANNIVERSARY"`, `"OTHER"`
    - `dateId` (`crm.me.update.traveler.importantDates.dateId`; string, optional) — The id of the stored date this one replaces; absent adds a new date.
      - minLength: `1`
    - `label` (`crm.me.update.traveler.importantDates.label`; any of, optional) — What the date is to people, 1 to 80 characters; null or absent when the kind says enough.
      - any of the following: `string`, `null`
  - `marketingConsent` (`crm.me.update.traveler.marketingConsent`; object, optional) — Whether the traveler agreed to marketing messages, per channel.
    - `email` (`crm.me.update.traveler.marketingConsent.email`; boolean, required) — Whether the traveler agreed to marketing by email.
    - `sms` (`crm.me.update.traveler.marketingConsent.sms`; boolean, required) — Whether the traveler agreed to marketing by SMS.
    - `whatsapp` (`crm.me.update.traveler.marketingConsent.whatsapp`; boolean, required) — Whether the traveler agreed to marketing on WhatsApp.
  - `name` (`crm.me.update.traveler.name`; object, optional) — The legal name, as printed on the travel document. Required on the change that adds the person's own traveler at an agency.
    - `familyName` (`crm.me.update.traveler.name.familyName`; string, required)
      - maxLength: `100` · minLength: `1`
    - `givenName` (`crm.me.update.traveler.name.givenName`; string, required)
      - maxLength: `100` · minLength: `1`
    - `middleName` (`crm.me.update.traveler.name.middleName`; any of, required)
      - any of the following: `string`, `null`
  - `nationalityCountryCode` (`crm.me.update.traveler.nationalityCountryCode`; any of, optional) — Nationality, as an ISO 3166-1 alpha-2 country code; null clears it.
    - any of the following: `CountryCode`, `null`
  - `preferredChannel` (`crm.me.update.traveler.preferredChannel`; any of, optional) — How the traveler prefers to be contacted; null clears it.
    - any of the following: `PreferredChannel`, `null`
  - `preferredLanguage` (`crm.me.update.traveler.preferredLanguage`; any of, optional) — The language to write to the traveler in, e.g. es or en-US; null clears it.
    - any of the following: `LanguageTag`, `null`
  - `preferredName` (`crm.me.update.traveler.preferredName`; any of, optional) — The name the traveler goes by, 1 to 100 characters; null clears it.
    - any of the following: `string`, `null`
  - `profile` (`crm.me.update.traveler.profile`; object, optional) — Sections of the travel profile to replace: a section left out is kept and null clears it.
    - `accessibility` (`crm.me.update.traveler.profile.accessibility`; any of, optional)
      - any of the following:
        - `Accessibility`
          - `medicalNotes` (`Accessibility.medicalNotes`; any of, required)
            - any of the following: `string`, `null`
          - `mobility` (`Accessibility.mobility`; any of, required)
            - any of the following:
              - `string`: one of `"NONE"`, `"REDUCED_MOBILITY"`, `"WHEELCHAIR_ASSISTANCE"`, `"WHEELCHAIR_OWN"`
              - `null`
        - `null`
    - `air` (`crm.me.update.traveler.profile.air`; any of, optional)
      - any of the following:
        - `AirPreferences`
          - `cabinClass` (`AirPreferences.cabinClass`; any of, required)
            - any of the following:
              - `string`: one of `"BUSINESS"`, `"ECONOMY"`, `"FIRST"`, `"PREMIUM_ECONOMY"`
              - `null`
          - `mealCode` (`AirPreferences.mealCode`; any of, required)
            - any of the following: `string`, `null`
          - `notes` (`AirPreferences.notes`; any of, required)
            - any of the following: `string`, `null`
          - `preferredAirlineCodes` (`AirPreferences.preferredAirlineCodes`; array of string, required)
            - pattern: `^[A-Z0-9]{2,3}$`
          - `preferredAirportCodes` (`AirPreferences.preferredAirportCodes`; array of string, required)
            - pattern: `^[A-Z]{3}$`
          - `seat` (`AirPreferences.seat`; any of, required)
            - any of the following:
              - `string`: one of `"AISLE"`, `"ANY"`, `"WINDOW"`
              - `null`
        - `null`
    - `dietary` (`crm.me.update.traveler.profile.dietary`; any of, optional)
      - any of the following:
        - `Dietary`
          - `codes` (`Dietary.codes`; array of string, required)
            - one of `"DIABETIC"`, `"GLUTEN_FREE"`, `"HALAL"`, `"KOSHER"`, `"LACTOSE_FREE"`, `"LOW_SODIUM"`, `"NUT_ALLERGY"`, `"OTHER"`, `"SHELLFISH_ALLERGY"`, `"VEGAN"`, `"VEGETARIAN"`
          - `notes` (`Dietary.notes`; any of, required)
            - any of the following: `string`, `null`
        - `null`
    - `emergencyContacts` (`crm.me.update.traveler.profile.emergencyContacts`; array of object, optional)
      - `name` (`crm.me.update.traveler.profile.emergencyContacts.name`; string, required)
        - maxLength: `200` · minLength: `1`
      - `phone` (`crm.me.update.traveler.profile.emergencyContacts.phone`; any of, required)
        - any of the following: `E164Phone`, `null`
      - `relationship` (`crm.me.update.traveler.profile.emergencyContacts.relationship`; any of, required)
        - any of the following: `string`, `null`
      - `travelerId` (`crm.me.update.traveler.profile.emergencyContacts.travelerId`; any of, required)
        - any of the following: `string`, `null`
    - `hotel` (`crm.me.update.traveler.profile.hotel`; any of, optional)
      - any of the following:
        - `HotelPreferences`
          - `bed` (`HotelPreferences.bed`; any of, required)
            - any of the following:
              - `string`: one of `"ANY"`, `"KING"`, `"QUEEN"`, `"TWIN"`
              - `null`
          - `floor` (`HotelPreferences.floor`; any of, required)
            - any of the following:
              - `string`: one of `"ANY"`, `"HIGH"`, `"LOW"`
              - `null`
          - `notes` (`HotelPreferences.notes`; any of, required)
            - any of the following: `string`, `null`
          - `preferredBrands` (`HotelPreferences.preferredBrands`; array of string, required)
            - maxLength: `80` · minLength: `1`
          - `roomType` (`HotelPreferences.roomType`; any of, required)
            - any of the following: `string`, `null`
        - `null`
    - `interests` (`crm.me.update.traveler.profile.interests`; any of, optional)
      - any of the following:
        - `Interests`
          - `bucketList` (`Interests.bucketList`; any of, required)
            - any of the following: `string`, `null`
          - `budgetNotes` (`Interests.budgetNotes`; any of, required)
            - any of the following: `string`, `null`
          - `interests` (`Interests.interests`; array of string, required)
            - maxLength: `60` · minLength: `1`
          - `travelStyles` (`Interests.travelStyles`; array of string, required)
            - maxLength: `60` · minLength: `1`
        - `null`
    - `loyaltyPrograms` (`crm.me.update.traveler.profile.loyaltyPrograms`; array of object, optional)
      - `number` (`crm.me.update.traveler.profile.loyaltyPrograms.number`; string, required)
        - maxLength: `255` · minLength: `1`
      - `receiverCode` (`crm.me.update.traveler.profile.loyaltyPrograms.receiverCode`; string, optional)
        - maxLength: `255` · minLength: `1`
      - `supplierCode` (`crm.me.update.traveler.profile.loyaltyPrograms.supplierCode`; string, optional)
        - maxLength: `255` · minLength: `1`
      - `tier` (`crm.me.update.traveler.profile.loyaltyPrograms.tier`; string, optional)
        - maxLength: `255` · minLength: `1`
      - `type` (`crm.me.update.traveler.profile.loyaltyPrograms.type`; string, optional)
        - maxLength: `255` · minLength: `1`
    - `pets` (`crm.me.update.traveler.profile.pets`; array of object, optional)
      - `name` (`crm.me.update.traveler.profile.pets.name`; string, required)
        - maxLength: `80` · minLength: `1`
      - `notes` (`crm.me.update.traveler.profile.pets.notes`; any of, required)
        - any of the following: `string`, `null`
      - `species` (`crm.me.update.traveler.profile.pets.species`; string, required)
        - maxLength: `60` · minLength: `1`
      - `weightKg` (`crm.me.update.traveler.profile.pets.weightKg`; any of, required)
        - any of the following: `number`, `null`
  - `residenceCountryCode` (`crm.me.update.traveler.residenceCountryCode`; any of, optional) — Country of residence, as an ISO 3166-1 alpha-2 country code; null clears it.
    - any of the following: `CountryCode`, `null`
  - `revision` (`crm.me.update.traveler.revision`; integer, optional) — The revision read, required for a traveler that exists; left out only on the change that adds the person's own traveler. A traveler changed since answers 409 CRM_REVISION_CONFLICT: read it again and reapply.
    - maximum: `9007199254740991` · minimum: `1`
  - `sex` (`crm.me.update.traveler.sex`; any of, optional) — The sex marker on the travel document; null clears it.
    - any of the following: `ParticipantSex`, `null`

## Example request

```json
{
  "family": [
    {
      "travelerId": "string",
      "update": {
        "address": {
          "address1": "Av. Reforma 222",
          "city": "Mexico City",
          "countryCode": "MX",
          "postalCode": "06600",
          "stateCode": "CMX"
        },
        "birthDate": "2019-08-24",
        "contact": {
          "email": "ana@example.com",
          "phone": "+525512345678"
        },
        "documents": [
          {
            "citizenshipCountry": "string",
            "expirationDate": "2019-08-24",
            "issueDate": "2019-08-24",
            "issuingCountryCode": "string",
            "kind": "DRIVER_LICENSE",
            "number": "string",
            "placeOfBirth": "string",
            "placeOfIssue": "string",
            "documentId": "string",
            "label": "string"
          }
        ],
        "frequentFlyerPrograms": [
          {
            "airlineIataCode": "AM",
            "memberNumber": "123456789"
          }
        ],
        "importantDates": [
          {
            "date": "2019-08-24",
            "dateId": "string",
            "kind": "ANNIVERSARY",
            "label": "string"
          }
        ],
        "marketingConsent": {
          "email": true,
          "sms": true,
          "whatsapp": true
        },
        "name": {
          "familyName": "Pérez",
          "givenName": "Ana",
          "middleName": null
        },
        "nationalityCountryCode": "string",
        "preferredChannel": "EMAIL",
        "preferredLanguage": "string",
        "preferredName": "string",
        "profile": {
          "accessibility": {
            "medicalNotes": "string",
            "mobility": "NONE"
          },
          "air": {
            "cabinClass": "BUSINESS",
            "mealCode": "string",
            "notes": "string",
            "preferredAirlineCodes": [
              "string"
            ],
            "preferredAirportCodes": [
              "string"
            ],
            "seat": "AISLE"
          },
          "dietary": {
            "codes": [
              "DIABETIC"
            ],
            "notes": "string"
          },
          "emergencyContacts": [
            {
              "name": "string",
              "phone": "+14155550123",
              "relationship": "string",
              "travelerId": "string"
            }
          ],
          "hotel": {
            "bed": "ANY",
            "floor": "ANY",
            "notes": "string",
            "preferredBrands": [
              "string"
            ],
            "roomType": "string"
          },
          "interests": {
            "bucketList": "string",
            "budgetNotes": "string",
            "interests": [
              "string"
            ],
            "travelStyles": [
              "string"
            ]
          },
          "loyaltyPrograms": [
            {
              "number": "987654321",
              "supplierCode": "MC",
              "tier": "Gold",
              "type": "HOTEL"
            }
          ],
          "pets": [
            {
              "name": "string",
              "notes": "string",
              "species": "string",
              "weightKg": 200
            }
          ]
        },
        "residenceCountryCode": "string",
        "revision": 1,
        "sex": "F"
      }
    }
  ],
  "traveler": {
    "address": {
      "address1": "Av. Reforma 222",
      "city": "Mexico City",
      "countryCode": "MX",
      "postalCode": "06600",
      "stateCode": "CMX"
    },
    "birthDate": "2019-08-24",
    "contact": {
      "email": "ana@example.com",
      "phone": "+525512345678"
    },
    "documents": [
      {
        "citizenshipCountry": "string",
        "expirationDate": "2019-08-24",
        "issueDate": "2019-08-24",
        "issuingCountryCode": "string",
        "kind": "DRIVER_LICENSE",
        "number": "string",
        "placeOfBirth": "string",
        "placeOfIssue": "string",
        "documentId": "string",
        "label": "string"
      }
    ],
    "frequentFlyerPrograms": [
      {
        "airlineIataCode": "AM",
        "memberNumber": "123456789"
      }
    ],
    "importantDates": [
      {
        "date": "2019-08-24",
        "dateId": "string",
        "kind": "ANNIVERSARY",
        "label": "string"
      }
    ],
    "marketingConsent": {
      "email": true,
      "sms": true,
      "whatsapp": true
    },
    "name": {
      "familyName": "Pérez",
      "givenName": "Ana",
      "middleName": null
    },
    "nationalityCountryCode": "string",
    "preferredChannel": "EMAIL",
    "preferredLanguage": "string",
    "preferredName": "string",
    "profile": {
      "accessibility": {
        "medicalNotes": "string",
        "mobility": "NONE"
      },
      "air": {
        "cabinClass": "BUSINESS",
        "mealCode": "string",
        "notes": "string",
        "preferredAirlineCodes": [
          "string"
        ],
        "preferredAirportCodes": [
          "string"
        ],
        "seat": "AISLE"
      },
      "dietary": {
        "codes": [
          "DIABETIC"
        ],
        "notes": "string"
      },
      "emergencyContacts": [
        {
          "name": "string",
          "phone": "+14155550123",
          "relationship": "string",
          "travelerId": "string"
        }
      ],
      "hotel": {
        "bed": "ANY",
        "floor": "ANY",
        "notes": "string",
        "preferredBrands": [
          "string"
        ],
        "roomType": "string"
      },
      "interests": {
        "bucketList": "string",
        "budgetNotes": "string",
        "interests": [
          "string"
        ],
        "travelStyles": [
          "string"
        ]
      },
      "loyaltyPrograms": [
        {
          "number": "987654321",
          "supplierCode": "MC",
          "tier": "Gold",
          "type": "HOTEL"
        }
      ],
      "pets": [
        {
          "name": "string",
          "notes": "string",
          "species": "string",
          "weightKg": 200
        }
      ]
    },
    "residenceCountryCode": "string",
    "revision": 1,
    "sex": "F"
  }
}
```

## Code samples

### JavaScript SDK

```javascript
import { createClient } from "@nicertravel/sdk";

const nicer = createClient({
  baseUrl: "https://api.nicer.travel",
  token: process.env.NICER_TOKEN,
});

await nicer.crm.me.update({});
```

### Nicer CLI

```bash
nicer crm me update --input - <<'JSON'
{}
JSON
```

### cURL

```bash
curl --request PUT \
  --url https://api.nicer.travel/crm/me \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'X-Nicer-CRM-Contract: resource' \
  --data '
{
  "family": [
    {
      "travelerId": "string",
      "update": {
        "address": {
          "address1": "Av. Reforma 222",
          "city": "Mexico City",
          "countryCode": "MX",
          "postalCode": "06600",
          "stateCode": "CMX"
        },
        "birthDate": "2019-08-24",
        "contact": {
          "email": "ana@example.com",
          "phone": "+525512345678"
        },
        "documents": [
          {
            "citizenshipCountry": "string",
            "expirationDate": "2019-08-24",
            "issueDate": "2019-08-24",
            "issuingCountryCode": "string",
            "kind": "DRIVER_LICENSE",
            "number": "string",
            "placeOfBirth": "string",
            "placeOfIssue": "string",
            "documentId": "string",
            "label": "string"
          }
        ],
        "frequentFlyerPrograms": [
          {
            "airlineIataCode": "AM",
            "memberNumber": "123456789"
          }
        ],
        "importantDates": [
          {
            "date": "2019-08-24",
            "dateId": "string",
            "kind": "ANNIVERSARY",
            "label": "string"
          }
        ],
        "marketingConsent": {
          "email": true,
          "sms": true,
          "whatsapp": true
        },
        "name": {
          "familyName": "Pérez",
          "givenName": "Ana",
          "middleName": null
        },
        "nationalityCountryCode": "string",
        "preferredChannel": "EMAIL",
        "preferredLanguage": "string",
        "preferredName": "string",
        "profile": {
          "accessibility": {
            "medicalNotes": "string",
            "mobility": "NONE"
          },
          "air": {
            "cabinClass": "BUSINESS",
            "mealCode": "string",
            "notes": "string",
            "preferredAirlineCodes": [
              "string"
            ],
            "preferredAirportCodes": [
              "string"
            ],
            "seat": "AISLE"
          },
          "dietary": {
            "codes": [
              "DIABETIC"
            ],
            "notes": "string"
          },
          "emergencyContacts": [
            {
              "name": "string",
              "phone": "+14155550123",
              "relationship": "string",
              "travelerId": "string"
            }
          ],
          "hotel": {
            "bed": "ANY",
            "floor": "ANY",
            "notes": "string",
            "preferredBrands": [
              "string"
            ],
            "roomType": "string"
          },
          "interests": {
            "bucketList": "string",
            "budgetNotes": "string",
            "interests": [
              "string"
            ],
            "travelStyles": [
              "string"
            ]
          },
          "loyaltyPrograms": [
            {
              "number": "987654321",
              "supplierCode": "MC",
              "tier": "Gold",
              "type": "HOTEL"
            }
          ],
          "pets": [
            {
              "name": "string",
              "notes": "string",
              "species": "string",
              "weightKg": 200
            }
          ]
        },
        "residenceCountryCode": "string",
        "revision": 1,
        "sex": "F"
      }
    }
  ],
  "traveler": {
    "address": {
      "address1": "Av. Reforma 222",
      "city": "Mexico City",
      "countryCode": "MX",
      "postalCode": "06600",
      "stateCode": "CMX"
    },
    "birthDate": "2019-08-24",
    "contact": {
      "email": "ana@example.com",
      "phone": "+525512345678"
    },
    "documents": [
      {
        "citizenshipCountry": "string",
        "expirationDate": "2019-08-24",
        "issueDate": "2019-08-24",
        "issuingCountryCode": "string",
        "kind": "DRIVER_LICENSE",
        "number": "string",
        "placeOfBirth": "string",
        "placeOfIssue": "string",
        "documentId": "string",
        "label": "string"
      }
    ],
    "frequentFlyerPrograms": [
      {
        "airlineIataCode": "AM",
        "memberNumber": "123456789"
      }
    ],
    "importantDates": [
      {
        "date": "2019-08-24",
        "dateId": "string",
        "kind": "ANNIVERSARY",
        "label": "string"
      }
    ],
    "marketingConsent": {
      "email": true,
      "sms": true,
      "whatsapp": true
    },
    "name": {
      "familyName": "Pérez",
      "givenName": "Ana",
      "middleName": null
    },
    "nationalityCountryCode": "string",
    "preferredChannel": "EMAIL",
    "preferredLanguage": "string",
    "preferredName": "string",
    "profile": {
      "accessibility": {
        "medicalNotes": "string",
        "mobility": "NONE"
      },
      "air": {
        "cabinClass": "BUSINESS",
        "mealCode": "string",
        "notes": "string",
        "preferredAirlineCodes": [
          "string"
        ],
        "preferredAirportCodes": [
          "string"
        ],
        "seat": "AISLE"
      },
      "dietary": {
        "codes": [
          "DIABETIC"
        ],
        "notes": "string"
      },
      "emergencyContacts": [
        {
          "name": "string",
          "phone": "+14155550123",
          "relationship": "string",
          "travelerId": "string"
        }
      ],
      "hotel": {
        "bed": "ANY",
        "floor": "ANY",
        "notes": "string",
        "preferredBrands": [
          "string"
        ],
        "roomType": "string"
      },
      "interests": {
        "bucketList": "string",
        "budgetNotes": "string",
        "interests": [
          "string"
        ],
        "travelStyles": [
          "string"
        ]
      },
      "loyaltyPrograms": [
        {
          "number": "987654321",
          "supplierCode": "MC",
          "tier": "Gold",
          "type": "HOTEL"
        }
      ],
      "pets": [
        {
          "name": "string",
          "notes": "string",
          "species": "string",
          "weightKg": 200
        }
      ]
    },
    "residenceCountryCode": "string",
    "revision": 1,
    "sex": "F"
  }
}
'
```

### TypeScript

```typescript
const url = 'https://api.nicer.travel/crm/me';
const options = {
  method: 'PUT',
  headers: {
    'Content-Type': 'application/json',
    'X-Nicer-CRM-Contract': 'resource',
    Authorization: 'Bearer <token>'
  },
  body: JSON.stringify({
    family: [
      {
        travelerId: 'string',
        update: {
          address: {
            address1: 'Av. Reforma 222',
            city: 'Mexico City',
            countryCode: 'MX',
            postalCode: '06600',
            stateCode: 'CMX'
          },
          birthDate: '2019-08-24',
          contact: {email: 'ana@example.com', phone: '+525512345678'},
          documents: [
            {
              citizenshipCountry: 'string',
              expirationDate: '2019-08-24',
              issueDate: '2019-08-24',
              issuingCountryCode: 'string',
              kind: 'DRIVER_LICENSE',
              number: 'string',
              placeOfBirth: 'string',
              placeOfIssue: 'string',
              documentId: 'string',
              label: 'string'
            }
          ],
          frequentFlyerPrograms: [{airlineIataCode: 'AM', memberNumber: '123456789'}],
          importantDates: [{date: '2019-08-24', dateId: 'string', kind: 'ANNIVERSARY', label: 'string'}],
          marketingConsent: {email: true, sms: true, whatsapp: true},
          name: {familyName: 'Pérez', givenName: 'Ana', middleName: null},
          nationalityCountryCode: 'string',
          preferredChannel: 'EMAIL',
          preferredLanguage: 'string',
          preferredName: 'string',
          profile: {
            accessibility: {medicalNotes: 'string', mobility: 'NONE'},
            air: {
              cabinClass: 'BUSINESS',
              mealCode: 'string',
              notes: 'string',
              preferredAirlineCodes: ['string'],
              preferredAirportCodes: ['string'],
              seat: 'AISLE'
            },
            dietary: {codes: ['DIABETIC'], notes: 'string'},
            emergencyContacts: [
              {
                name: 'string',
                phone: '+14155550123',
                relationship: 'string',
                travelerId: 'string'
              }
            ],
            hotel: {
              bed: 'ANY',
              floor: 'ANY',
              notes: 'string',
              preferredBrands: ['string'],
              roomType: 'string'
            },
            interests: {
              bucketList: 'string',
              budgetNotes: 'string',
              interests: ['string'],
              travelStyles: ['string']
            },
            loyaltyPrograms: [{number: '987654321', supplierCode: 'MC', tier: 'Gold', type: 'HOTEL'}],
            pets: [{name: 'string', notes: 'string', species: 'string', weightKg: 200}]
          },
          residenceCountryCode: 'string',
          revision: 1,
          sex: 'F'
        }
      }
    ],
    traveler: {
      address: {
        address1: 'Av. Reforma 222',
        city: 'Mexico City',
        countryCode: 'MX',
        postalCode: '06600',
        stateCode: 'CMX'
      },
      birthDate: '2019-08-24',
      contact: {email: 'ana@example.com', phone: '+525512345678'},
      documents: [
        {
          citizenshipCountry: 'string',
          expirationDate: '2019-08-24',
          issueDate: '2019-08-24',
          issuingCountryCode: 'string',
          kind: 'DRIVER_LICENSE',
          number: 'string',
          placeOfBirth: 'string',
          placeOfIssue: 'string',
          documentId: 'string',
          label: 'string'
        }
      ],
      frequentFlyerPrograms: [{airlineIataCode: 'AM', memberNumber: '123456789'}],
      importantDates: [{date: '2019-08-24', dateId: 'string', kind: 'ANNIVERSARY', label: 'string'}],
      marketingConsent: {email: true, sms: true, whatsapp: true},
      name: {familyName: 'Pérez', givenName: 'Ana', middleName: null},
      nationalityCountryCode: 'string',
      preferredChannel: 'EMAIL',
      preferredLanguage: 'string',
      preferredName: 'string',
      profile: {
        accessibility: {medicalNotes: 'string', mobility: 'NONE'},
        air: {
          cabinClass: 'BUSINESS',
          mealCode: 'string',
          notes: 'string',
          preferredAirlineCodes: ['string'],
          preferredAirportCodes: ['string'],
          seat: 'AISLE'
        },
        dietary: {codes: ['DIABETIC'], notes: 'string'},
        emergencyContacts: [
          {
            name: 'string',
            phone: '+14155550123',
            relationship: 'string',
            travelerId: 'string'
          }
        ],
        hotel: {
          bed: 'ANY',
          floor: 'ANY',
          notes: 'string',
          preferredBrands: ['string'],
          roomType: 'string'
        },
        interests: {
          bucketList: 'string',
          budgetNotes: 'string',
          interests: ['string'],
          travelStyles: ['string']
        },
        loyaltyPrograms: [{number: '987654321', supplierCode: 'MC', tier: 'Gold', type: 'HOTEL'}],
        pets: [{name: 'string', notes: 'string', species: 'string', weightKg: 200}]
      },
      residenceCountryCode: 'string',
      revision: 1,
      sex: 'F'
    }
  })
};

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/crm/me"

payload = {
    "family": [
        {
            "travelerId": "string",
            "update": {
                "address": {
                    "address1": "Av. Reforma 222",
                    "city": "Mexico City",
                    "countryCode": "MX",
                    "postalCode": "06600",
                    "stateCode": "CMX"
                },
                "birthDate": "2019-08-24",
                "contact": {
                    "email": "ana@example.com",
                    "phone": "+525512345678"
                },
                "documents": [
                    {
                        "citizenshipCountry": "string",
                        "expirationDate": "2019-08-24",
                        "issueDate": "2019-08-24",
                        "issuingCountryCode": "string",
                        "kind": "DRIVER_LICENSE",
                        "number": "string",
                        "placeOfBirth": "string",
                        "placeOfIssue": "string",
                        "documentId": "string",
                        "label": "string"
                    }
                ],
                "frequentFlyerPrograms": [
                    {
                        "airlineIataCode": "AM",
                        "memberNumber": "123456789"
                    }
                ],
                "importantDates": [
                    {
                        "date": "2019-08-24",
                        "dateId": "string",
                        "kind": "ANNIVERSARY",
                        "label": "string"
                    }
                ],
                "marketingConsent": {
                    "email": True,
                    "sms": True,
                    "whatsapp": True
                },
                "name": {
                    "familyName": "Pérez",
                    "givenName": "Ana",
                    "middleName": None
                },
                "nationalityCountryCode": "string",
                "preferredChannel": "EMAIL",
                "preferredLanguage": "string",
                "preferredName": "string",
                "profile": {
                    "accessibility": {
                        "medicalNotes": "string",
                        "mobility": "NONE"
                    },
                    "air": {
                        "cabinClass": "BUSINESS",
                        "mealCode": "string",
                        "notes": "string",
                        "preferredAirlineCodes": ["string"],
                        "preferredAirportCodes": ["string"],
                        "seat": "AISLE"
                    },
                    "dietary": {
                        "codes": ["DIABETIC"],
                        "notes": "string"
                    },
                    "emergencyContacts": [
                        {
                            "name": "string",
                            "phone": "+14155550123",
                            "relationship": "string",
                            "travelerId": "string"
                        }
                    ],
                    "hotel": {
                        "bed": "ANY",
                        "floor": "ANY",
                        "notes": "string",
                        "preferredBrands": ["string"],
                        "roomType": "string"
                    },
                    "interests": {
                        "bucketList": "string",
                        "budgetNotes": "string",
                        "interests": ["string"],
                        "travelStyles": ["string"]
                    },
                    "loyaltyPrograms": [
                        {
                            "number": "987654321",
                            "supplierCode": "MC",
                            "tier": "Gold",
                            "type": "HOTEL"
                        }
                    ],
                    "pets": [
                        {
                            "name": "string",
                            "notes": "string",
                            "species": "string",
                            "weightKg": 200
                        }
                    ]
                },
                "residenceCountryCode": "string",
                "revision": 1,
                "sex": "F"
            }
        }
    ],
    "traveler": {
        "address": {
            "address1": "Av. Reforma 222",
            "city": "Mexico City",
            "countryCode": "MX",
            "postalCode": "06600",
            "stateCode": "CMX"
        },
        "birthDate": "2019-08-24",
        "contact": {
            "email": "ana@example.com",
            "phone": "+525512345678"
        },
        "documents": [
            {
                "citizenshipCountry": "string",
                "expirationDate": "2019-08-24",
                "issueDate": "2019-08-24",
                "issuingCountryCode": "string",
                "kind": "DRIVER_LICENSE",
                "number": "string",
                "placeOfBirth": "string",
                "placeOfIssue": "string",
                "documentId": "string",
                "label": "string"
            }
        ],
        "frequentFlyerPrograms": [
            {
                "airlineIataCode": "AM",
                "memberNumber": "123456789"
            }
        ],
        "importantDates": [
            {
                "date": "2019-08-24",
                "dateId": "string",
                "kind": "ANNIVERSARY",
                "label": "string"
            }
        ],
        "marketingConsent": {
            "email": True,
            "sms": True,
            "whatsapp": True
        },
        "name": {
            "familyName": "Pérez",
            "givenName": "Ana",
            "middleName": None
        },
        "nationalityCountryCode": "string",
        "preferredChannel": "EMAIL",
        "preferredLanguage": "string",
        "preferredName": "string",
        "profile": {
            "accessibility": {
                "medicalNotes": "string",
                "mobility": "NONE"
            },
            "air": {
                "cabinClass": "BUSINESS",
                "mealCode": "string",
                "notes": "string",
                "preferredAirlineCodes": ["string"],
                "preferredAirportCodes": ["string"],
                "seat": "AISLE"
            },
            "dietary": {
                "codes": ["DIABETIC"],
                "notes": "string"
            },
            "emergencyContacts": [
                {
                    "name": "string",
                    "phone": "+14155550123",
                    "relationship": "string",
                    "travelerId": "string"
                }
            ],
            "hotel": {
                "bed": "ANY",
                "floor": "ANY",
                "notes": "string",
                "preferredBrands": ["string"],
                "roomType": "string"
            },
            "interests": {
                "bucketList": "string",
                "budgetNotes": "string",
                "interests": ["string"],
                "travelStyles": ["string"]
            },
            "loyaltyPrograms": [
                {
                    "number": "987654321",
                    "supplierCode": "MC",
                    "tier": "Gold",
                    "type": "HOTEL"
                }
            ],
            "pets": [
                {
                    "name": "string",
                    "notes": "string",
                    "species": "string",
                    "weightKg": 200
                }
            ]
        },
        "residenceCountryCode": "string",
        "revision": 1,
        "sex": "F"
    }
}
headers = {
    "Content-Type": "application/json",
    "X-Nicer-CRM-Contract": "resource",
    "Authorization": "Bearer <token>"
}

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

print(response.text)
```

## Responses

### 200

OK

#### Example

```json
{
  "advisors": [
    {
      "advisorAvatar": "string",
      "advisorName": "string",
      "advisorUserId": "string",
      "companyName": "string",
      "isAssigned": true
    }
  ],
  "family": [
    {
      "relationship": "ASSISTANT",
      "traveler": {
        "address": {
          "address1": "Av. Reforma 222",
          "city": "Mexico City",
          "countryCode": "MX",
          "postalCode": "06600",
          "stateCode": "CMX"
        },
        "birthDate": "2019-08-24",
        "companyName": "string",
        "contact": {
          "email": "ana@example.com",
          "phone": "+525512345678"
        },
        "documents": [
          {
            "citizenshipCountry": "string",
            "expirationDate": "2019-08-24",
            "issueDate": "2019-08-24",
            "issuingCountryCode": "string",
            "kind": "DRIVER_LICENSE",
            "number": "string",
            "placeOfBirth": "string",
            "placeOfIssue": "string",
            "documentId": "string",
            "label": "string"
          }
        ],
        "frequentFlyerPrograms": [
          {
            "airlineIataCode": "AM",
            "memberNumber": "123456789"
          }
        ],
        "importantDates": [
          {
            "date": "2019-08-24",
            "dateId": "string",
            "kind": "ANNIVERSARY",
            "label": "string"
          }
        ],
        "marketingConsent": {
          "email": true,
          "sms": true,
          "whatsapp": true
        },
        "name": {
          "familyName": "Pérez",
          "givenName": "Ana",
          "middleName": null
        },
        "nationalityCountryCode": "string",
        "preferredChannel": "EMAIL",
        "preferredLanguage": "string",
        "preferredName": "string",
        "profile": {
          "accessibility": {
            "medicalNotes": "string",
            "mobility": "NONE"
          },
          "air": {
            "cabinClass": "BUSINESS",
            "mealCode": "string",
            "notes": "string",
            "preferredAirlineCodes": [
              "string"
            ],
            "preferredAirportCodes": [
              "string"
            ],
            "seat": "AISLE"
          },
          "dietary": {
            "codes": [
              "DIABETIC"
            ],
            "notes": "string"
          },
          "emergencyContacts": [
            {
              "name": "string",
              "phone": "+14155550123",
              "relationship": "string",
              "travelerId": "string"
            }
          ],
          "hotel": {
            "bed": "ANY",
            "floor": "ANY",
            "notes": "string",
            "preferredBrands": [
              "string"
            ],
            "roomType": "string"
          },
          "interests": {
            "bucketList": "string",
            "budgetNotes": "string",
            "interests": [
              "string"
            ],
            "travelStyles": [
              "string"
            ]
          },
          "loyaltyPrograms": [
            {
              "number": "987654321",
              "supplierCode": "MC",
              "tier": "Gold",
              "type": "HOTEL"
            }
          ],
          "pets": [
            {
              "name": "string",
              "notes": "string",
              "species": "string",
              "weightKg": 200
            }
          ]
        },
        "residenceCountryCode": "string",
        "revision": 1,
        "sex": "F",
        "travelerId": "string"
      }
    }
  ],
  "traveler": {
    "address": {
      "address1": "Av. Reforma 222",
      "city": "Mexico City",
      "countryCode": "MX",
      "postalCode": "06600",
      "stateCode": "CMX"
    },
    "birthDate": "2019-08-24",
    "companyName": "string",
    "contact": {
      "email": "ana@example.com",
      "phone": "+525512345678"
    },
    "documents": [
      {
        "citizenshipCountry": "string",
        "expirationDate": "2019-08-24",
        "issueDate": "2019-08-24",
        "issuingCountryCode": "string",
        "kind": "DRIVER_LICENSE",
        "number": "string",
        "placeOfBirth": "string",
        "placeOfIssue": "string",
        "documentId": "string",
        "label": "string"
      }
    ],
    "frequentFlyerPrograms": [
      {
        "airlineIataCode": "AM",
        "memberNumber": "123456789"
      }
    ],
    "importantDates": [
      {
        "date": "2019-08-24",
        "dateId": "string",
        "kind": "ANNIVERSARY",
        "label": "string"
      }
    ],
    "marketingConsent": {
      "email": true,
      "sms": true,
      "whatsapp": true
    },
    "name": {
      "familyName": "Pérez",
      "givenName": "Ana",
      "middleName": null
    },
    "nationalityCountryCode": "string",
    "preferredChannel": "EMAIL",
    "preferredLanguage": "string",
    "preferredName": "string",
    "profile": {
      "accessibility": {
        "medicalNotes": "string",
        "mobility": "NONE"
      },
      "air": {
        "cabinClass": "BUSINESS",
        "mealCode": "string",
        "notes": "string",
        "preferredAirlineCodes": [
          "string"
        ],
        "preferredAirportCodes": [
          "string"
        ],
        "seat": "AISLE"
      },
      "dietary": {
        "codes": [
          "DIABETIC"
        ],
        "notes": "string"
      },
      "emergencyContacts": [
        {
          "name": "string",
          "phone": "+14155550123",
          "relationship": "string",
          "travelerId": "string"
        }
      ],
      "hotel": {
        "bed": "ANY",
        "floor": "ANY",
        "notes": "string",
        "preferredBrands": [
          "string"
        ],
        "roomType": "string"
      },
      "interests": {
        "bucketList": "string",
        "budgetNotes": "string",
        "interests": [
          "string"
        ],
        "travelStyles": [
          "string"
        ]
      },
      "loyaltyPrograms": [
        {
          "number": "987654321",
          "supplierCode": "MC",
          "tier": "Gold",
          "type": "HOTEL"
        }
      ],
      "pets": [
        {
          "name": "string",
          "notes": "string",
          "species": "string",
          "weightKg": 200
        }
      ]
    },
    "residenceCountryCode": "string",
    "revision": 1,
    "sex": "F",
    "travelerId": "string"
  }
}
```

- `advisors` (`crm.me.update.response.200.advisors`; array of object, required) — The advisors who serve the person at every agency where they are a traveler, one entry per advisor and agency.
  - `advisorAvatar` (`crm.me.update.response.200.advisors.advisorAvatar`; any of, required) — A link to the photo on the advisor's Nicer account; null when they have none.
    - any of the following: `string`, `null`
  - `advisorName` (`crm.me.update.response.200.advisors.advisorName`; any of, required) — The advisor's name, as their Nicer account spells it; null when it has none.
    - any of the following: `string`, `null`
  - `advisorUserId` (`crm.me.update.response.200.advisors.advisorUserId`; string, required) — The advisor's user id.
  - `companyName` (`crm.me.update.response.200.advisors.companyName`; string, required) — The agency where the advisor serves the person.
  - `isAssigned` (`crm.me.update.response.200.advisors.isAssigned`; boolean, required) — Whether the advisor is the one responsible for the person at that agency.
- `family` (`crm.me.update.response.200.family`; array of object, required) — The family members the person may fill in for at the agency they act in; empty when no agency is selected.
  - `relationship` (`crm.me.update.response.200.family.relationship`; string, required) — What the family member is to the person: CHILD, SPOUSE or PARTNER.
    - one of `"ASSISTANT"`, `"CHILD"`, `"COLLEAGUE"`, `"EMPLOYER"`, `"FRIEND"`, `"NANNY"`, `"PARENT"`, `"PARTNER"`, `"REFERRED"`, `"REFERRED_BY"`, `"RELATIVE"`, `"SIBLING"`, `"SPOUSE"`
  - `traveler` (`crm.me.update.response.200.family.traveler`; object, required) — The family member's traveler, as the person fills it for them.
    - `address` (`crm.me.update.response.200.family.traveler.address`; any of, required) — The traveler's postal address; null when nobody gave one.
      - any of the following:
        - `PersonAddress`
          - `address1` (`PersonAddress.address1`; string, required)
            - maxLength: `200` · minLength: `1`
          - `city` (`PersonAddress.city`; string, required)
            - maxLength: `100` · minLength: `1`
          - `countryCode` (`PersonAddress.countryCode`; string, required)
            - pattern: `^[A-Z]{2}$`
          - `postalCode` (`PersonAddress.postalCode`; string, required)
            - maxLength: `20` · minLength: `1`
          - `stateCode` (`PersonAddress.stateCode`; string, required)
            - maxLength: `100` · minLength: `1`
        - `null`
    - `birthDate` (`crm.me.update.response.200.family.traveler.birthDate`; any of, required) — Date of birth, YYYY-MM-DD; null when unknown.
      - any of the following: `string`, `null`
    - `companyName` (`crm.me.update.response.200.family.traveler.companyName`; string, required) — The agency the traveler belongs to.
    - `contact` (`crm.me.update.response.200.family.traveler.contact`; object, required) — The traveler's email and phone, the phone in E.164; each is null when unknown.
      - `email` (`crm.me.update.response.200.family.traveler.contact.email`; any of, required)
        - any of the following: `string`, `null`
      - `phone` (`crm.me.update.response.200.family.traveler.contact.phone`; any of, required)
        - any of the following: `E164Phone`, `null`
    - `documents` (`crm.me.update.response.200.family.traveler.documents`; array of object, required) — The traveler's travel documents with their full numbers, oldest first.
      - `expirationDate` (`crm.me.update.response.200.family.traveler.documents.expirationDate`; any of, required) — The day the document expires, YYYY-MM-DD; null for one that does not.
        - any of the following: `string`, `null`
      - `issuingCountryCode` (`crm.me.update.response.200.family.traveler.documents.issuingCountryCode`; any of, required) — The country that issued the document, as an ISO 3166-1 alpha-2 country code; null when unknown.
        - any of the following: `CountryCode`, `null`
      - `kind` (`crm.me.update.response.200.family.traveler.documents.kind`; string, required) — What the document is.
        - one of `"DRIVER_LICENSE"`, `"KNOWN_TRAVELER_NUMBER"`, `"NATIONAL_ID"`, `"PASSPORT"`, `"REDRESS_NUMBER"`, `"RESIDENCE_PERMIT"`, `"VISA"`
      - `number` (`crm.me.update.response.200.family.traveler.documents.number`; string, required) — The document's number, in full, 1 to 100 characters.
        - maxLength: `100` · minLength: `1`
      - `documentId` (`crm.me.update.response.200.family.traveler.documents.documentId`; string, required) — The document's id: send it back in an update to keep or replace this document.
        - minLength: `1`
      - `label` (`crm.me.update.response.200.family.traveler.documents.label`; any of, required) — What the document is to people, e.g. "ESTA" or "Schengen", 1 to 60 characters; null when it has none.
        - any of the following: `string`, `null`
      - `citizenshipCountry` (`crm.me.update.response.200.family.traveler.documents.citizenshipCountry`; any of, optional) — The citizenship stated on this document, as an ISO 3166-1 alpha-2 country code; it is not always the person's nationality. Null or absent when the document states none.
        - any of the following: `CountryCode`, `null`
      - `issueDate` (`crm.me.update.response.200.family.traveler.documents.issueDate`; any of, optional) — The day the document was issued, YYYY-MM-DD; null or absent when unknown.
        - any of the following: `string`, `null`
      - `placeOfBirth` (`crm.me.update.response.200.family.traveler.documents.placeOfBirth`; any of, optional) — The place of birth printed on the document; null or absent when unknown.
        - any of the following: `string`, `null`
      - `placeOfIssue` (`crm.me.update.response.200.family.traveler.documents.placeOfIssue`; any of, optional) — Where the document was issued; null or absent when unknown.
        - any of the following: `string`, `null`
    - `frequentFlyerPrograms` (`crm.me.update.response.200.family.traveler.frequentFlyerPrograms`; array of object, required) — Airline loyalty memberships, as a flight reservation carries them.
      - `airlineIataCode` (`crm.me.update.response.200.family.traveler.frequentFlyerPrograms.airlineIataCode`; string, required)
        - pattern: `^[A-Z0-9]{2,3}$`
      - `memberNumber` (`crm.me.update.response.200.family.traveler.frequentFlyerPrograms.memberNumber`; string, required)
        - maxLength: `100` · minLength: `1`
    - `importantDates` (`crm.me.update.response.200.family.traveler.importantDates`; array of object, required) — The dates the agency remembers every year; the birthday is birthDate, not one of these.
      - `date` (`crm.me.update.response.200.family.traveler.importantDates.date`; string, required) — The date, YYYY-MM-DD. Its month and day come back every year; the year is the first one.
        - format: `date` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$`
      - `dateId` (`crm.me.update.response.200.family.traveler.importantDates.dateId`; string, required) — The date's id: send it back in an update to keep or replace this date.
        - minLength: `1`
      - `kind` (`crm.me.update.response.200.family.traveler.importantDates.kind`; string, required) — What kind of date it is.
        - one of `"ANNIVERSARY"`, `"OTHER"`
      - `label` (`crm.me.update.response.200.family.traveler.importantDates.label`; any of, required) — What the date is to people, e.g. Wedding anniversary, 1 to 80 characters; null when the kind says enough.
        - any of the following: `string`, `null`
    - `marketingConsent` (`crm.me.update.response.200.family.traveler.marketingConsent`; object, required) — Whether the traveler agreed to marketing messages, per channel.
      - `email` (`crm.me.update.response.200.family.traveler.marketingConsent.email`; boolean, required) — Whether the traveler agreed to marketing by email.
      - `sms` (`crm.me.update.response.200.family.traveler.marketingConsent.sms`; boolean, required) — Whether the traveler agreed to marketing by SMS.
      - `whatsapp` (`crm.me.update.response.200.family.traveler.marketingConsent.whatsapp`; boolean, required) — Whether the traveler agreed to marketing on WhatsApp.
    - `name` (`crm.me.update.response.200.family.traveler.name`; object, required) — The legal name, as printed on the travel document.
      - `familyName` (`crm.me.update.response.200.family.traveler.name.familyName`; string, required)
        - maxLength: `100` · minLength: `1`
      - `givenName` (`crm.me.update.response.200.family.traveler.name.givenName`; string, required)
        - maxLength: `100` · minLength: `1`
      - `middleName` (`crm.me.update.response.200.family.traveler.name.middleName`; any of, required)
        - any of the following: `string`, `null`
    - `nationalityCountryCode` (`crm.me.update.response.200.family.traveler.nationalityCountryCode`; any of, required) — Nationality, as an ISO 3166-1 alpha-2 country code; null when unknown.
      - any of the following: `CountryCode`, `null`
    - `preferredChannel` (`crm.me.update.response.200.family.traveler.preferredChannel`; any of, required) — How the traveler prefers to be contacted; null when they have not said.
      - any of the following: `PreferredChannel`, `null`
    - `preferredLanguage` (`crm.me.update.response.200.family.traveler.preferredLanguage`; any of, required) — The language to write to the traveler in, e.g. es or en-US; null when unknown.
      - any of the following: `LanguageTag`, `null`
    - `preferredName` (`crm.me.update.response.200.family.traveler.preferredName`; any of, required) — The name the traveler goes by when it is not their given name; null otherwise.
      - any of the following: `string`, `null`
    - `profile` (`crm.me.update.response.200.family.traveler.profile`; object, required) — The travel profile: air and hotel preferences, dietary and accessibility needs, loyalty programs, emergency contacts, interests and pets.
      - `accessibility` (`crm.me.update.response.200.family.traveler.profile.accessibility`; any of, required)
        - any of the following:
          - `Accessibility`
            - `medicalNotes` (`Accessibility.medicalNotes`; any of, required)
              - any of the following: `string`, `null`
            - `mobility` (`Accessibility.mobility`; any of, required)
              - any of the following:
                - `string`: one of `"NONE"`, `"REDUCED_MOBILITY"`, `"WHEELCHAIR_ASSISTANCE"`, `"WHEELCHAIR_OWN"`
                - `null`
          - `null`
      - `air` (`crm.me.update.response.200.family.traveler.profile.air`; any of, required)
        - any of the following:
          - `AirPreferences`
            - `cabinClass` (`AirPreferences.cabinClass`; any of, required)
              - any of the following:
                - `string`: one of `"BUSINESS"`, `"ECONOMY"`, `"FIRST"`, `"PREMIUM_ECONOMY"`
                - `null`
            - `mealCode` (`AirPreferences.mealCode`; any of, required)
              - any of the following: `string`, `null`
            - `notes` (`AirPreferences.notes`; any of, required)
              - any of the following: `string`, `null`
            - `preferredAirlineCodes` (`AirPreferences.preferredAirlineCodes`; array of string, required)
              - pattern: `^[A-Z0-9]{2,3}$`
            - `preferredAirportCodes` (`AirPreferences.preferredAirportCodes`; array of string, required)
              - pattern: `^[A-Z]{3}$`
            - `seat` (`AirPreferences.seat`; any of, required)
              - any of the following:
                - `string`: one of `"AISLE"`, `"ANY"`, `"WINDOW"`
                - `null`
          - `null`
      - `dietary` (`crm.me.update.response.200.family.traveler.profile.dietary`; any of, required)
        - any of the following:
          - `Dietary`
            - `codes` (`Dietary.codes`; array of string, required)
              - one of `"DIABETIC"`, `"GLUTEN_FREE"`, `"HALAL"`, `"KOSHER"`, `"LACTOSE_FREE"`, `"LOW_SODIUM"`, `"NUT_ALLERGY"`, `"OTHER"`, `"SHELLFISH_ALLERGY"`, `"VEGAN"`, `"VEGETARIAN"`
            - `notes` (`Dietary.notes`; any of, required)
              - any of the following: `string`, `null`
          - `null`
      - `emergencyContacts` (`crm.me.update.response.200.family.traveler.profile.emergencyContacts`; array of object, required)
        - `name` (`crm.me.update.response.200.family.traveler.profile.emergencyContacts.name`; string, required)
          - maxLength: `200` · minLength: `1`
        - `phone` (`crm.me.update.response.200.family.traveler.profile.emergencyContacts.phone`; any of, required)
          - any of the following: `E164Phone`, `null`
        - `relationship` (`crm.me.update.response.200.family.traveler.profile.emergencyContacts.relationship`; any of, required)
          - any of the following: `string`, `null`
        - `travelerId` (`crm.me.update.response.200.family.traveler.profile.emergencyContacts.travelerId`; any of, required)
          - any of the following: `string`, `null`
      - `hotel` (`crm.me.update.response.200.family.traveler.profile.hotel`; any of, required)
        - any of the following:
          - `HotelPreferences`
            - `bed` (`HotelPreferences.bed`; any of, required)
              - any of the following:
                - `string`: one of `"ANY"`, `"KING"`, `"QUEEN"`, `"TWIN"`
                - `null`
            - `floor` (`HotelPreferences.floor`; any of, required)
              - any of the following:
                - `string`: one of `"ANY"`, `"HIGH"`, `"LOW"`
                - `null`
            - `notes` (`HotelPreferences.notes`; any of, required)
              - any of the following: `string`, `null`
            - `preferredBrands` (`HotelPreferences.preferredBrands`; array of string, required)
              - maxLength: `80` · minLength: `1`
            - `roomType` (`HotelPreferences.roomType`; any of, required)
              - any of the following: `string`, `null`
          - `null`
      - `interests` (`crm.me.update.response.200.family.traveler.profile.interests`; any of, required)
        - any of the following:
          - `Interests`
            - `bucketList` (`Interests.bucketList`; any of, required)
              - any of the following: `string`, `null`
            - `budgetNotes` (`Interests.budgetNotes`; any of, required)
              - any of the following: `string`, `null`
            - `interests` (`Interests.interests`; array of string, required)
              - maxLength: `60` · minLength: `1`
            - `travelStyles` (`Interests.travelStyles`; array of string, required)
              - maxLength: `60` · minLength: `1`
          - `null`
      - `loyaltyPrograms` (`crm.me.update.response.200.family.traveler.profile.loyaltyPrograms`; array of object, required)
        - `number` (`crm.me.update.response.200.family.traveler.profile.loyaltyPrograms.number`; string, required)
          - maxLength: `255` · minLength: `1`
        - `receiverCode` (`crm.me.update.response.200.family.traveler.profile.loyaltyPrograms.receiverCode`; string, optional)
          - maxLength: `255` · minLength: `1`
        - `supplierCode` (`crm.me.update.response.200.family.traveler.profile.loyaltyPrograms.supplierCode`; string, optional)
          - maxLength: `255` · minLength: `1`
        - `tier` (`crm.me.update.response.200.family.traveler.profile.loyaltyPrograms.tier`; string, optional)
          - maxLength: `255` · minLength: `1`
        - `type` (`crm.me.update.response.200.family.traveler.profile.loyaltyPrograms.type`; string, optional)
          - maxLength: `255` · minLength: `1`
      - `pets` (`crm.me.update.response.200.family.traveler.profile.pets`; array of object, required)
        - `name` (`crm.me.update.response.200.family.traveler.profile.pets.name`; string, required)
          - maxLength: `80` · minLength: `1`
        - `notes` (`crm.me.update.response.200.family.traveler.profile.pets.notes`; any of, required)
          - any of the following: `string`, `null`
        - `species` (`crm.me.update.response.200.family.traveler.profile.pets.species`; string, required)
          - maxLength: `60` · minLength: `1`
        - `weightKg` (`crm.me.update.response.200.family.traveler.profile.pets.weightKg`; any of, required)
          - any of the following: `number`, `null`
    - `residenceCountryCode` (`crm.me.update.response.200.family.traveler.residenceCountryCode`; any of, required) — Country of residence, as an ISO 3166-1 alpha-2 country code; null when unknown.
      - any of the following: `CountryCode`, `null`
    - `revision` (`crm.me.update.response.200.family.traveler.revision`; integer, required) — Goes up by one on every change. Send it back with an update, so a change made meanwhile is never overwritten.
      - maximum: `9007199254740991` · minimum: `1`
    - `sex` (`crm.me.update.response.200.family.traveler.sex`; any of, required) — The sex marker on the travel document; null when unknown.
      - any of the following: `ParticipantSex`, `null`
    - `travelerId` (`crm.me.update.response.200.family.traveler.travelerId`; string, required) — The traveler's id.
      - maxLength: `64` · minLength: `1`
- `traveler` (`crm.me.update.response.200.traveler`; any of, required) — The person's own traveler at the agency they act in; null before they have one there, or when no agency is selected.
  - any of the following:
    - `TravelerSelf`
      - `address` (`TravelerSelf.address`; any of, required) — The traveler's postal address; null when nobody gave one.
        - any of the following: `PersonAddress`, `null`
      - `birthDate` (`TravelerSelf.birthDate`; any of, required) — Date of birth, YYYY-MM-DD; null when unknown.
        - any of the following: `string`, `null`
      - `companyName` (`TravelerSelf.companyName`; string, required) — The agency the traveler belongs to.
      - `contact` (`TravelerSelf.contact`; object, required) — The traveler's email and phone, the phone in E.164; each is null when unknown.
        - `email` (`TravelerSelf.contact.email`; any of, required)
          - any of the following: `string`, `null`
        - `phone` (`TravelerSelf.contact.phone`; any of, required)
          - any of the following: `E164Phone`, `null`
      - `documents` (`TravelerSelf.documents`; array of object, required) — The traveler's travel documents with their full numbers, oldest first.
        - `expirationDate` (`TravelerSelf.documents.expirationDate`; any of, required) — The day the document expires, YYYY-MM-DD; null for one that does not.
          - any of the following: `string`, `null`
        - `issuingCountryCode` (`TravelerSelf.documents.issuingCountryCode`; any of, required) — The country that issued the document, as an ISO 3166-1 alpha-2 country code; null when unknown.
          - any of the following: `CountryCode`, `null`
        - `kind` (`TravelerSelf.documents.kind`; string, required) — What the document is.
          - one of `"DRIVER_LICENSE"`, `"KNOWN_TRAVELER_NUMBER"`, `"NATIONAL_ID"`, `"PASSPORT"`, `"REDRESS_NUMBER"`, `"RESIDENCE_PERMIT"`, `"VISA"`
        - `number` (`TravelerSelf.documents.number`; string, required) — The document's number, in full, 1 to 100 characters.
          - maxLength: `100` · minLength: `1`
        - `documentId` (`TravelerSelf.documents.documentId`; string, required) — The document's id: send it back in an update to keep or replace this document.
          - minLength: `1`
        - `label` (`TravelerSelf.documents.label`; any of, required) — What the document is to people, e.g. "ESTA" or "Schengen", 1 to 60 characters; null when it has none.
          - any of the following: `string`, `null`
        - `citizenshipCountry` (`TravelerSelf.documents.citizenshipCountry`; any of, optional) — The citizenship stated on this document, as an ISO 3166-1 alpha-2 country code; it is not always the person's nationality. Null or absent when the document states none.
          - any of the following: `CountryCode`, `null`
        - `issueDate` (`TravelerSelf.documents.issueDate`; any of, optional) — The day the document was issued, YYYY-MM-DD; null or absent when unknown.
          - any of the following: `string`, `null`
        - `placeOfBirth` (`TravelerSelf.documents.placeOfBirth`; any of, optional) — The place of birth printed on the document; null or absent when unknown.
          - any of the following: `string`, `null`
        - `placeOfIssue` (`TravelerSelf.documents.placeOfIssue`; any of, optional) — Where the document was issued; null or absent when unknown.
          - any of the following: `string`, `null`
      - `frequentFlyerPrograms` (`TravelerSelf.frequentFlyerPrograms`; array of object, required) — Airline loyalty memberships, as a flight reservation carries them.
        - `airlineIataCode` (`TravelerSelf.frequentFlyerPrograms.airlineIataCode`; string, required)
          - pattern: `^[A-Z0-9]{2,3}$`
        - `memberNumber` (`TravelerSelf.frequentFlyerPrograms.memberNumber`; string, required)
          - maxLength: `100` · minLength: `1`
      - `importantDates` (`TravelerSelf.importantDates`; array of object, required) — The dates the agency remembers every year; the birthday is birthDate, not one of these.
        - `date` (`TravelerSelf.importantDates.date`; string, required) — The date, YYYY-MM-DD. Its month and day come back every year; the year is the first one.
          - format: `date` · pattern: `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$`
        - `dateId` (`TravelerSelf.importantDates.dateId`; string, required) — The date's id: send it back in an update to keep or replace this date.
          - minLength: `1`
        - `kind` (`TravelerSelf.importantDates.kind`; string, required) — What kind of date it is.
          - one of `"ANNIVERSARY"`, `"OTHER"`
        - `label` (`TravelerSelf.importantDates.label`; any of, required) — What the date is to people, e.g. Wedding anniversary, 1 to 80 characters; null when the kind says enough.
          - any of the following: `string`, `null`
      - `marketingConsent` (`TravelerSelf.marketingConsent`; object, required) — Whether the traveler agreed to marketing messages, per channel.
        - `email` (`TravelerSelf.marketingConsent.email`; boolean, required) — Whether the traveler agreed to marketing by email.
        - `sms` (`TravelerSelf.marketingConsent.sms`; boolean, required) — Whether the traveler agreed to marketing by SMS.
        - `whatsapp` (`TravelerSelf.marketingConsent.whatsapp`; boolean, required) — Whether the traveler agreed to marketing on WhatsApp.
      - `name` (`TravelerSelf.name`; object, required) — The legal name, as printed on the travel document.
        - `familyName` (`TravelerSelf.name.familyName`; string, required)
          - maxLength: `100` · minLength: `1`
        - `givenName` (`TravelerSelf.name.givenName`; string, required)
          - maxLength: `100` · minLength: `1`
        - `middleName` (`TravelerSelf.name.middleName`; any of, required)
          - any of the following: `string`, `null`
      - `nationalityCountryCode` (`TravelerSelf.nationalityCountryCode`; any of, required) — Nationality, as an ISO 3166-1 alpha-2 country code; null when unknown.
        - any of the following: `CountryCode`, `null`
      - `preferredChannel` (`TravelerSelf.preferredChannel`; any of, required) — How the traveler prefers to be contacted; null when they have not said.
        - any of the following: `PreferredChannel`, `null`
      - `preferredLanguage` (`TravelerSelf.preferredLanguage`; any of, required) — The language to write to the traveler in, e.g. es or en-US; null when unknown.
        - any of the following: `LanguageTag`, `null`
      - `preferredName` (`TravelerSelf.preferredName`; any of, required) — The name the traveler goes by when it is not their given name; null otherwise.
        - any of the following: `string`, `null`
      - `profile` (`TravelerSelf.profile`; object, required) — The travel profile: air and hotel preferences, dietary and accessibility needs, loyalty programs, emergency contacts, interests and pets.
        - `accessibility` (`TravelerSelf.profile.accessibility`; any of, required)
          - any of the following: `Accessibility`, `null`
        - `air` (`TravelerSelf.profile.air`; any of, required)
          - any of the following: `AirPreferences`, `null`
        - `dietary` (`TravelerSelf.profile.dietary`; any of, required)
          - any of the following: `Dietary`, `null`
        - `emergencyContacts` (`TravelerSelf.profile.emergencyContacts`; array of object, required)
          - `name` (`TravelerSelf.profile.emergencyContacts.name`; string, required)
            - maxLength: `200` · minLength: `1`
          - `phone` (`TravelerSelf.profile.emergencyContacts.phone`; any of, required)
            - any of the following: `E164Phone`, `null`
          - `relationship` (`TravelerSelf.profile.emergencyContacts.relationship`; any of, required)
            - any of the following: `string`, `null`
          - `travelerId` (`TravelerSelf.profile.emergencyContacts.travelerId`; any of, required)
            - any of the following: `string`, `null`
        - `hotel` (`TravelerSelf.profile.hotel`; any of, required)
          - any of the following: `HotelPreferences`, `null`
        - `interests` (`TravelerSelf.profile.interests`; any of, required)
          - any of the following: `Interests`, `null`
        - `loyaltyPrograms` (`TravelerSelf.profile.loyaltyPrograms`; array of object, required)
          - `number` (`TravelerSelf.profile.loyaltyPrograms.number`; string, required)
            - maxLength: `255` · minLength: `1`
          - `receiverCode` (`TravelerSelf.profile.loyaltyPrograms.receiverCode`; string, optional)
            - maxLength: `255` · minLength: `1`
          - `supplierCode` (`TravelerSelf.profile.loyaltyPrograms.supplierCode`; string, optional)
            - maxLength: `255` · minLength: `1`
          - `tier` (`TravelerSelf.profile.loyaltyPrograms.tier`; string, optional)
            - maxLength: `255` · minLength: `1`
          - `type` (`TravelerSelf.profile.loyaltyPrograms.type`; string, optional)
            - maxLength: `255` · minLength: `1`
        - `pets` (`TravelerSelf.profile.pets`; array of object, required)
          - `name` (`TravelerSelf.profile.pets.name`; string, required)
            - maxLength: `80` · minLength: `1`
          - `notes` (`TravelerSelf.profile.pets.notes`; any of, required)
            - any of the following: `string`, `null`
          - `species` (`TravelerSelf.profile.pets.species`; string, required)
            - maxLength: `60` · minLength: `1`
          - `weightKg` (`TravelerSelf.profile.pets.weightKg`; any of, required)
            - any of the following: `number`, `null`
      - `residenceCountryCode` (`TravelerSelf.residenceCountryCode`; any of, required) — Country of residence, as an ISO 3166-1 alpha-2 country code; null when unknown.
        - any of the following: `CountryCode`, `null`
      - `revision` (`TravelerSelf.revision`; integer, required) — Goes up by one on every change. Send it back with an update, so a change made meanwhile is never overwritten.
        - maximum: `9007199254740991` · minimum: `1`
      - `sex` (`TravelerSelf.sex`; any of, required) — The sex marker on the travel document; null when unknown.
        - any of the following: `ParticipantSex`, `null`
      - `travelerId` (`TravelerSelf.travelerId`; string, required) — The traveler's id.
        - maxLength: `64` · minLength: `1`
    - `null`

### 400

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

#### Example

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

- `errorCode` (`crm.me.update.response.400.errorCode`; string, required)
- `errorMessage` (`crm.me.update.response.400.errorMessage`; string, required)

### 401

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

#### Example

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

- `errorCode` (`crm.me.update.response.401.errorCode`; string, required)
- `errorMessage` (`crm.me.update.response.401.errorMessage`; string, required)

### 403

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

#### Example

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

- `errorCode` (`crm.me.update.response.403.errorCode`; string, required)
- `errorMessage` (`crm.me.update.response.403.errorMessage`; string, required)


Source: https://docs.nicer.travel/api/Notes-and-tasks/crm.me.update/index.md
