bymundi API

Update the booking contact

PATCH/v1/trips/{tripId}/contact

Changes the booking contact's details, field by field (null clears one), as the contact panel does. ⚠️ Changing the email on a reservada trip MOVES app access to the new address and emails it; the old address loses access once the new one is in. ?dryRun=true answers movesAccess and emailsTo without writing. No undo. 409 no_contact if the trip has none yet.

Permissions: travelers:write · Kind: write · Cost: 1 unit · Dry run: ?dryRun=true · MCP tool update_trip_contact

Cannot be undone.

Path parameters

Field Type Required Description
tripId uuid yes

Body

Field Type Required Description
name string | null
email email | null
phone string | null
address object | null
address.line1 string | null yes
address.line2 string | null yes
address.postalCode string | null yes
address.city string | null yes
address.region string | null yes
address.country string | null yes
docType "dni" | "nie" | "passport" | "other" | null
docNumber string | null
docCountry string | null
taxId string | null

Response 200

One of:

trip_contact

Field Type Required Description
object "trip_contact" yes
tripId uuid yes
name string | null yes
email string | null yes
phone string | null yes
address object | null yes
address.line1 string | null yes
address.line2 string | null yes
address.postalCode string | null yes
address.city string | null yes
address.region string | null yes
address.country string | null yes
docType "dni" | "nie" | "passport" | "other" | null yes
docNumber string | null yes
docCountry string | null yes
taxId string | null yes
account object yes
account.userId uuid yes
account.email string | null yes
account.name string | null yes
access "invited" | "queued" | "failed" | "no_email" | "not_yet" | null yes
accessOpenedAt string | null yes
accessMoved boolean yes

contact_change_preview

Field Type Required Description
object "contact_change_preview" yes
movesAccess boolean yes
emailsTo string | null yes

Errors

Errors are problem details. Besides the refusals described above, any call like this one can return: