Update a trip by admin

Admins can update a specific trip.

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

Trip ID

Query Params
string

The lookupId of a POST /company-data-finder/lookup whose values are being saved, so the client company values record where they came from

Body Params

Trip update details

number

Traveler user ID. Optional — defaults to the trip's current traveller. If sent, it must match that traveller, otherwise the request returns 404.

values
object
required

Trip field values to update, keyed by field. Only the keys you send are changed; omitted keys keep their stored value. Keys are your company's trip-field keys — discover them with GET /trip-fields; they are per-company and must not be copied from an example. Any field whose type is REFERENCE_ADD in GET /trip-fields (e.g. location_abroad, client_address_abroad) takes either free text or the address as parts (street, postalCode, city, country; optional houseNumber, houseNumberAddition, region). An object on any other field returns 400.

number

Destination leg (stop) of a multi-destination trip to write the values to. Omit to write trip-level values.

legs
array of objects

Stops of a multi-destination trip to update in the same edit: their dates and their own answers. A date change re-approves the trip like any date change.

legs
boolean

Defaults to false. When true, the trip's travel reason is still stored and filed, but it never decides whether a notification (PWD) process runs: the reason check against the company's process settings is treated as passed, and travel_reason and its follow-up questions are not requested. Min-trip-days, posting exemptions and the AT high-earner rule still apply.

Combine with processKeys: processKeys chooses which processes may run, this flag stops the reason from vetoing them.

Persisted on the trip, so POST /processes/rerun/{tripId} and later updates keep it; an update without the field leaves it unchanged. Only admin, personal-assistant and travel-manager roles may set it.

Responses
200

Trip updated successfully by admin

400

A submitted value is invalid — e.g. an end date before the start date, a malformed location_abroad, or a client_hr_number on an NL trip that is not an 8-digit Dutch KvK number.

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here!