4a. Get Trip Estimate - On Demand Ride
POST {{sandbox_base_url}}/v1/guests/trips/estimates
https://developer.uber.com/docs/guest-rides/references/api/v1/guest-trips-estimates-post
Fetch estimates for a on-demand trip.
404 - Invalid Run ID
Passed run ID is expired or not valid.
- If both
scheduling.pickup_time
anddeferred_ride_options.pickup_day
are blank, the estimate will be for an on-demand ride. - Use
scheduling.pickup_time
to get an estimate for a trip at that specified time. - Use
deferred_ride_options.pickup_day
to get an estimate for a trip where the user picks the ride time on a set day.
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
x-uber-organizationuuid | string |