---
title: "Update trip details for trip Id"
method: POST
path: "/v3/trips/{tripId}"
tags: ["Trips"]
---

# Update trip details for trip Id

`POST /v3/trips/{tripId}`

## Request body

- UpdateTripV3Request — Update trip request
  - `tripContacts` TripContact[]
    - `label` string, required — Label for the contact
    - `name` string, required — Name of the contact
    - `email` string — Email of the contact
    - `phoneNumber` PhoneNumber — Properly formatted phone number.
      - `countryCode` integer — two digit country code
      - `countryCodeSource` 'UNSPECIFIED' | 'FROM_NUMBER_WITH_PLUS_SIGN' | 'FROM_NUMBER_WITH_IDD' | 'FROM_NUMBER_WITHOUT_PLUS_SIGN' | 'FROM_DEFAULT_COUNTRY'
      - `extension` string — phone number extension
      - `isoCountryCode` string — ISO alpha-2 code
      - `italianLeadingZero` boolean
      - `nationalNumber` integer
      - `numberOfLeadingZeros` integer
      - `preferredDomesticCarrierCode` string
      - `rawInput` string
      - `type` 'UNKNOWN_TYPE' | 'MOBILE' | 'LANDLINE'
    - `isPrimary` boolean — Whether the contact is primary or not
    - `restrictVisibility` boolean — Whether to restrict visibility of the contact to only agents and admins
  - `tripCommunicationPreferences` TripCommunicationPreferences — Communication preferences for the trip
    - `tripEmailPreferences` TripEmailPreferences — Email preferences for the trip
      - `bucketEmailPreferences` BucketEmailPreferences — Email communication preferences based on bucket types.
        - `bucketTypes` EmailBucketType[], required — List of email bucket types.
        - `isEnabled` boolean — Indicates whether emails are disabled.
        - `toEmails` string[] — List of email address to be included in emails.
        - `ccEmails` string[] — List of email address to be cc-ed in emails.
        - `bccEmails` string[] — List of email address to be bcc-ed in emails.

## Response `200`

OK

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — The specified resource was not found.

---

[API](https://skmtc.net/spotnana/apis/trip-api.md) · [All operations](https://skmtc.net/spotnana/apis/trip-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/spotnana/trip-api/versions/95d2773f6a09/schema)
