4a. Get Health Trip Estimates - On Demand

POST {{sandbox_base_url}}/v1/health/trips/estimates

https://developer.uber.com/docs/health/references/api/v1/health-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 and deferred_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

KeyDatatypeRequiredDescription
content-typestring
x-uber-sandbox-runuuidstring
x-uber-organizationuuidstring
User-Agentstring