Creates a new Flexible Ride.
PrerequisitesBefore creating a flexible ride, you should call the
/estimatesendpoint and use the returned
product.idasproduct_idin this request. This should also give you an estimate on how much
the journey could cost at claim time, but is not guaranteed for this use case, as the cost is set at
claim time.
Flexible Ride states
After created, a Flexible Ride can end up in these states:
pending- Initial state.claimed- It was claimed by a user and a journey was created for it.failed- A non recoverable error ocurred during the claiming process (e.g overbudget).cancelled- It was cancelled by the owner.expired- After the expiration time was reached.
Of note is that all states besides pending are final. A Flexible Ride can be modified and claimed while it's
pending, but it becomes read only after it is changed to any other state.
ExpirationTake into account that if you set a
claimable_sincetime, the calculation
of the expiration time for the Flexible Ride will take it into consideration (expires_atwill be
set N seconds afterclaimable_since)
Sandbox TestingIn the sandbox environment, pickup locations must be within central Madrid (approximately 40.4361°, -3.7014°).
See Sandbox Environment for details.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
