Update a Trip draft

Update an existing trip draft.

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

Trip draft 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

Updated draft values, upgrade flag, and optional payload.

values
object

Trip field values to update, keyed by field.

boolean

Whether to upgrade the draft to a full trip.

payload
object

Optional integration payload forwarded with the trip.

legs
array of objects

Ordered destination legs (multi-destination companies only).

legs
userAnswers
object

The traveller's answers to the risk assessment's USER questions, keyed by field. Required when upgrade is true and the trip type runs a pre-booking assessment — omitting them evaluates every question against its default.

boolean

Same as on POST /trips: never let a posted-worker notification process's travel-reason settings veto this trip. Omit to keep the stored value. Admin, personal-assistant and travel-manager roles only; others get a 403.

Response
201

Trip draft updated successfully

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