Update notification preferences

Merge-update the authenticated traveler's notification delivery preferences. Only the supplied fields are changed; omitted fields retain their current values. Writes to TravelerProfile.communication_preferences.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Partial update payload for notification preferences.

All fields are optional; omitted fields retain their current stored value.
Only supplied fields are written to TravelerProfile.communication_preferences.

timezone uses str | None rather than IanaTimezone because Pydantic v2
generates an unregistered -Input__1 $ref in the OpenAPI spec when an
Annotated type with custom metadata is used in a request-body model with
populate_by_name=True. IANA validation is delegated to the service layer
via validate_notification_preferences_patch.

Set to false to suppress all notification delivery for this traveler. Omit the field (rather than sending null) to leave it unchanged.

IANA timezone identifier for quiet-hour evaluation (e.g. 'America/New_York'). Set to null to restore UTC fallback. Invalid IANA strings return HTTP 422.

Responses

401

Missing or invalid authentication

422

Invalid timezone or field value

503

Database unavailable

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json