plan

Update Plan

Save user-edited plan with optimistic concurrency.

PlanUpdateRequest's model_validator(mode='before') calls sanitize_incoming_plan_payload first, so legacy entry types from stale frontend caches (journey_ref / stay_ref / dangling date_source_id) are quietly stripped before Pydantic validates the inner PlanContent.

put/trips/{trip_id}/plans/{plan_id}

Path parameters

trip_idstring required
plan_idstring required

Headers

x-client-idstring nullable

Request body

versioninteger required

Response

Successful Response

idstring required
versioninteger required

Changes

No recorded changes to this endpoint across all 1 revision of this API.