Trips
List a trip's options
GET/api/v1/trips/{id}/variantsScope
trips:readThe trip's options, with their quoted price, in the order the client sees their tabs. Returned whole, never paged. Empty when the trip has no options. Once the client accepts an option, or the trip leaves the proposal stage, only the option their trip page shows is listed.
Path parameters
idstring
Query parameters
No parameters.
Returns
A list of Variant objects.
Errors
401unauthorizedNo key, a malformed one, or a key that does not exist or was revoked. Send it as
Authorization: Bearer <key>.403api_not_enabledRoundPlan has not turned on API access for this agency.
403subscription_inactiveThe agency's trial expired or its subscription ended.
403insufficient_scopeThe key cannot read this. An owner adds
trips:read to a key in Settings → API.404not_foundNothing with that id in this agency.
500internal_errorSomething went wrong on our side. Retry later.