Trips

Confirm cancellations: delete the flagged items

Items a forwarded email said were cancelled sit with cancellation_state = "pending" until someone confirms. This deletes the given ones (an inferred drive leaves a dismissal so it is not recreated).

post/api/trips/{id}/cancellations/confirm

Request

  • Base URL: https://trvlrr.app
  • URL: https://trvlrr.app/api/trips/{id}/cancellations/confirm
  • Auth: HTTP bearer

Path parameters

idstring required

The trip id.

Request body

item_idsstring[] required

Segment, stay or experience ids flagged as possibly cancelled.

Response

How many were deleted.

deletedinteger required

Changes

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