trips

WRITE: add or remove the user's OWN saved points on a trip (by point id from get_my_points)

WRITE: add or remove the user's OWN saved points on a trip (by point id from get_my_points). The day plan rebuilds from the updated list — this is how "switch this location for that one" happens.

post/actions/update_trip_stops

Request

  • Base URL: https://findinghorizons.ca/api/v1
  • URL: https://findinghorizons.ca/api/v1/actions/update_trip_stops
  • Auth: OAuth 2 (authorization code, authorization URL https://findinghorizons.ca/api/mcp/authorize, token URL https://findinghorizons.ca/api/mcp/oauth/token, scopes: trips:write)

Headers

Idempotency-Keystring required

One per intended change; a repeat never runs twice.

X-FH-Taskstring

Your task reference.

Request body

tripIdstring required
addPointIdsstring[]
removePointIdsstring[]
todaystring

The traveller's own date, YYYY-MM-DD, where the action needs one

expectedVersioninteger

For a change to a trip: the planVersion you last read

Response

Done — { ok, api, action, result, card, operation? }

Changes

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