GetOrderRequest.ResponseOptions
| Name |
Type |
Description |
Required |
| include_product_details |
bool |
Whether to include the product details in the response |
N |
| include_shopping_phase_context |
bool |
Whether to include the shopping phase context in the response |
N |
| include_route_legs |
bool |
Whether to include the route leg details in the response |
N |
GetPaymentSummaryResponse.PaymentProfile
| Name |
Type |
Description |
Required |
| payment_profile_id |
string |
The payment profile ID. |
Y |
| display_name |
PaymentProfileDisplayName |
The display name of the payment profile. |
Y |
GetPaymentSummaryResponse.PaymentProfileDisplayName
| Name |
Type |
Description |
Required |
| name |
string |
The localized name of the payment profile. |
Y |
| icon |
Image |
The icon URL of the payment profile. |
Y |
ResolveWaypointRequest.ResponseOptions
| Name |
Type |
Description |
Required |
| include_nearby_zones |
bool |
Whether to include the product details in the response |
N |
| include_rider_wayfinding_detailed |
bool |
Return detailed step-by-step wayfinding instructions with images. Only request when explicitly needed — this is a costly call for RDG. |
N |
Action
| Name |
Type |
Description |
Required |
| action_id |
string |
action id which can be performed in trip state Refer to this table for allowed values of ActionId. |
Y |
| action_type |
string |
Type of action Refer to this table for allowed values of ActionType. |
Y |
| action_display_name |
string |
Localised action name |
Y |
| action_type_metadata_one_of |
ActionTypeMetadataOneOf |
metadata related to the actions |
N |
ActionId
| Name |
Number |
Description |
| ACTION_ID_INVALID |
0 |
|
| ACTION_ID_CANCEL |
1 |
|
| ACTION_ID_POST_ASSIGN_CONTACT_TRANSPORT_PROVIDER |
2 |
|
| ACTION_ID_UNASSIGN_JOB |
3 |
|
ActionType
| Name |
Number |
Description |
| ACTION_TYPE_INVALID |
0 |
|
| ACTION_TYPE_RPC_ACTION |
1 |
|
| ACTION_TYPE_CLIENT_ONLY_ACTION |
2 |
|
| Name |
Type |
Description |
Required |
| rpc_method |
string |
Name of the rpc method |
Y |
Adjustment
| Name |
Type |
Description |
Required |
| adjustment_number |
int |
Adjustment number |
Y |
| adjustment_reason |
string |
Adjustment reason |
Y |
| pre_adjusted_fare |
AdjustedFare |
Fare before applying adjustment |
Y |
| post_adjusted_fare |
AdjustedFare |
Fare after applying adjustment |
Y |
| adjusted_at |
string |
Adjustment timestamp. Unix epoch milliseconds since 1970-01-01T00:00:00Z, encoded as a decimal string. |
Y |
| adjusted_billing_line_items |
array<BillingLineItem> |
|
N |
Adjustment.AdjustedFare
| Name |
Type |
Description |
Required |
| fare_amount |
string |
Fare amount |
Y |
BillingLineItem
| Name |
Type |
Description |
Required |
| line_item_id |
string |
The id of the billing line item Refer to this table for allowed values of BillingLineItemId. |
Y |
| amount |
string |
Amount value corresponding to the line item |
Y |
BillingLineItemId
| Name |
Number |
Description |
| BILLING_LINE_ITEM_ID_INVALID |
0 |
|
| BILLING_LINE_ITEM_ID_CASH_COLLECTED |
1 |
|
| BILLING_LINE_ITEM_ID_UBER_ARREARS |
2 |
|
| BILLING_LINE_ITEM_ID_OUT_OF_BAND_PAYMENT |
3 |
|
ThirdPartyRequestContext
| Name |
Type |
Description |
Required |
| trace_id |
string |
A unique id per request that can be used to trace a 3P request in Uber systems |
Y |
| timestamp |
string |
The time at which the request was sent to Uber. Unix epoch milliseconds since 1970-01-01T00:00:00Z, encoded as a decimal string (13 digits), e.g. "1793600000000". See Date & Time Formats. |
Y |
| session_id |
string |
An id that can be used to link multiple requests within a logical session |
N |
Distance
| Name |
Type |
Description |
Required |
| number |
double |
Value of the distance. |
N |
| unit |
string |
Unit of the distance. Refer to this table for allowed values of DistanceUnit. |
N |
DistanceUnit
A standard distance, which provides the scale factor for a distance extent, or the granularity or precision for a distance position.
| Name |
Number |
Description |
| DISTANCE_UNIT_INVALID |
0 |
The default, invalid standard distance unit. |
| DISTANCE_UNIT_MILES |
1 |
The standard distance unit in miles. |
| DISTANCE_UNIT_KILOMETERS |
2 |
The standard distance unit in kilometers. |
| DISTANCE_UNIT_METERS |
3 |
The standard distance unit in meters. |
ETA
| Name |
Type |
Description |
Required |
| eta_in_seconds |
int |
Estimated time of arrival in seconds This is set as wrapper type to make sure the field is always set even when the value is zero ( otherwise 0 value of int gets omitted during json serialization ) This will be set for on-demand trips |
N |
| estimated_at |
string |
The time at which this ETA was estimated. Unix epoch milliseconds since 1970-01-01T00:00:00Z, encoded as a decimal string. See Date & Time Formats. |
Y |
| arrival_at |
string |
The time at which the arrival is expected to happen. Unix epoch milliseconds since 1970-01-01T00:00:00Z, encoded as a decimal string. Set for reserve trips that have a fixed arrival time. See Date & Time Formats. |
N |
| context |
ETAContext |
Additional context this ETA depends on, e.g. the flight it is computed against for airport pickup (RAPU) trips. Absent when the ETA has no such dependency. |
N |
ETAContext
| Name |
Type |
Description |
Required |
| flight_context |
FlightContext |
Set only when this ETA was computed against a specific flight (RAPU/RADO airport pickup trips). |
N |
FlightContext
| Name |
Type |
Description |
Required |
| flight_id |
string |
Identifier of the flight this ETA was computed against. |
Y |
| Name |
Type |
Description |
Required |
| cancellation_time_threshold |
CancellationTimeThreshold |
Cancellation time threshold |
Y |
| cancellation_fee_range |
CurrencyRange |
Range of the cancellation fee that may be charged |
N |
| Name |
Type |
Description |
Required |
| transport_provider_cancel_time_threshold_in_seconds |
int |
transport_provider cancellation time threshold in seconds |
N |
| rider_free_cancel_time_threshold_in_seconds |
int |
rider free cancellation time threshold in seconds |
Y |
CurrencyRange
A range of monetary amounts in a specified currency. The lower and upper bounds are inclusive.
| Name |
Type |
Description |
Required |
| min_amount |
string |
Lower bound of the amount range |
N |
| max_amount |
string |
Upper bound of the amount range |
N |
| currency_code |
string |
ISO 4217 currency code |
N |
| Name |
Type |
Description |
Required |
| pre_deduction_fare_one_of |
FareModelOneOf |
Pre deduction fare one of. The type of pre_deduction_fare_one_of will be the same as the top level fare type. |
Y |
| Name |
Type |
Description |
Required |
| promotion_id |
string |
The promotion id responsible for promotion line item |
Y |
| promotion_value |
PromotionValueOneOf |
Promotion value one of between credit (flat) and percent promotions. |
Y |
| Name |
Type |
Description |
Required |
| rider_distance_metadata |
DistanceMetadata |
Per unit distance charges that are charged to riders on trip and the estimated distance |
Y |
| distance_charge_type |
string |
Type of per unit charge E.g. in city rate might be different from out city rate Refer to this table for allowed values of DistanceChargeType. |
N |
DistanceChargeType
Represents different kind of charges applied to the trip like inCity and outCity. potentially can happen when a trip is between different region.
| Name |
Number |
Description |
| DISTANCE_CHARGE_TYPE_INVALID |
0 |
|
| DISTANCE_CHARGE_TYPE_IN_CITY |
2 |
|
| DISTANCE_CHARGE_TYPE_OUT_CITY |
3 |
|
| Name |
Type |
Description |
Required |
| distance |
Distance |
Total estimated distance of the trip considered for calculating the distance portion of the fare. |
N |
| rate |
DistanceRate |
Per unit distance charges. |
Y |
DistanceRate
| Name |
Type |
Description |
Required |
| unit |
string |
Unit of distance Refer to this table for allowed values of DistanceUnit. |
Y |
| per_unit_amount |
string |
Per unit distance charges |
Y |
Fare
| Name |
Type |
Description |
Required |
| fare_id |
string |
Unique Id of the fare |
Y |
| expires_at |
string |
The time at which this fare expires. Unix epoch milliseconds since 1970-01-01T00:00:00Z, encoded as a decimal string. See Date & Time Formats. |
N |
| currency_code |
string |
ISO 4217 currency code |
Y |
| contractual |
bool |
Whether the fare provided is contractual or not |
Y |
| point_fare |
string |
Fare specified as a single value. The amount is in the currency specified by currency_code, multiplied by 100,000. Divide this value by 100,000 to obtain the amount in currency units. For example, 1268000 with currency_code set to USD represents USD 12.68. |
N |
| range_fare |
RangeFare |
Fares specified as a range |
N |
| no_fare |
NoFare |
This is returned when the fare cannot be calculated upfront ( at the time fare is being asked ) and is therefore represented as a string describing how the fare will be calculated post-trip. |
N |
| fare_metadata |
FareMetadata |
Metadata about the fare |
N |
| Name |
Type |
Description |
Required |
| surge_metadata |
SurgeMetadata |
Metadata about the surge charges |
N |
| cancellation_metadata |
CancellationMetadata |
Metadata about the cancellation charges |
N |
| deduction_metadata |
DeductionMetadata |
Metadata for the deduction done in Fare. |
N |
| time_charge_metadata |
array<TimeChargeMetadata> |
Metadata about the per unit time charges |
N |
| distance_charge_metadata |
array<DistanceChargeMetadata> |
Metadata about the per unit distance charges |
N |
| minimum_fare_metadata |
MinimumFareMetadata |
Metadata about the minimum fare |
N |
| pricing_package_metadata |
PricingPackageMetadata |
Metadata describing the package (e.g. Hourly) this Fare was priced against. Present only for package-priced products. |
N |
FareModelOneOf
| Name |
Type |
Description |
Required |
| point_fare |
string |
Fare specified as a single value. The amount is in the currency specified by the currency_code of the containing Fare, multiplied by 100,000. Divide this value by 100,000 to obtain the amount in currency units. For example, 1268000 with the containing fare’s currency_code set to USD represents USD 12.68. |
N |
| range_fare |
RangeFare |
Fares specified as a range |
N |
| no_fare |
NoFare |
This is returned when the fare cannot be calculated upfront ( at the time fare is being asked ) and is therefore represented as a string describing how the fare will be calculated post-trip. |
N |
| Name |
Type |
Description |
Required |
| amount |
string |
Minimum fare charges that are charged to riders on trip |
Y |
NoFare
| Name |
Type |
Description |
Required |
| no_fare_type |
string |
At least one of the type or fare_string will be available. Type of the no fare Refer to this table for allowed values of NoFareType. |
N |
| fare_string |
string |
Localised string representing the fare value as string. |
N |
NoFareType
| Name |
Number |
Description |
| NO_FARE_TYPE_INVALID |
0 |
|
| NO_FARE_TYPE_ACTUALS |
1 |
|
OverageRates
Rates charged once a package’s included time or distance is exceeded.
| Name |
Type |
Description |
Required |
| overage_rate_per_temporal_unit |
TimeRate |
Overage charged per unit of time beyond the included duration |
N |
| overage_rate_per_distance_unit |
DistanceRate |
Overage charged per unit of distance beyond the included distance |
N |
Metadata describing the package (e.g. Hourly) a Fare was priced against.
| Name |
Type |
Description |
Required |
| distance |
Distance |
Distance included in the package |
N |
| duration |
Duration |
Duration included in the package |
N |
| formatted_time_and_distance |
string |
Localised representation of the included time and distance, e.g. “1hr/20km” |
N |
| overage_rates |
OverageRates |
Rates charged once the included time or distance is exceeded |
N |
RangeFare
| Name |
Type |
Description |
Required |
| lower |
string |
Value of the lower bound of the fare |
Y |
| upper |
string |
Value of the upper bound of the fare |
Y |
| Name |
Type |
Description |
Required |
| effective_surge_multiplier |
double |
Effective surge multiplier based on actual surge fees applied |
Y |
| is_surging |
bool |
Surge indicative based on the surge fee applied |
Y |
| Name |
Type |
Description |
Required |
| rider_time_metadata |
TimeMetadata |
Per unit time charges that are charged to riders on trip and the estimated duration |
Y |
| time_charge_type |
string |
Type of per unit charge E.g. in city rate might be different from out city rate Refer to this table for allowed values of TimeChargeType. |
N |
TimeChargeType
Represents different kind of charges applied to the trip like inCity and outCity. potentially can happen when a trip is between different region.
| Name |
Number |
Description |
| TIME_CHARGE_TYPE_INVALID |
0 |
|
| TIME_CHARGE_TYPE_IN_CITY |
2 |
|
| TIME_CHARGE_TYPE_OUT_CITY |
3 |
|
| Name |
Type |
Description |
Required |
| duration |
Duration |
Total estimated duration of the trip considered for calculating the time portion of the fare. |
N |
| rate |
TimeRate |
Per unit time charges. |
Y |
TimeRate
| Name |
Type |
Description |
Required |
| per_unit_amount |
string |
Per unit time amount |
Y |
| unit |
string |
unit of time. Refer to this table for allowed values of TemporalUnit. |
Y |
TemporalUnit
A standard duration, which provides the scale factor for a time extent, or the granularity or precision for a time position
| Name |
Number |
Description |
| TEMPORAL_UNIT_INVALID |
0 |
|
| TEMPORAL_UNIT_YEAR |
1 |
|
| TEMPORAL_UNIT_MONTH |
2 |
|
| TEMPORAL_UNIT_WEEK |
3 |
|
| TEMPORAL_UNIT_DAY |
4 |
|
| TEMPORAL_UNIT_HOUR |
5 |
|
| TEMPORAL_UNIT_MINUTE |
6 |
|
| TEMPORAL_UNIT_SECOND |
7 |
|
| TEMPORAL_UNIT_MILLISECOND |
8 |
|
| TEMPORAL_UNIT_MICROSECOND |
9 |
|
| TEMPORAL_UNIT_NANOSECOND |
10 |
|
Duration
| Name |
Type |
Description |
Required |
| number |
int |
The value of the duration |
N |
| unit |
string |
The temporal unit which provides the precision Refer to this table for allowed values of TemporalUnit. |
N |
FeedbackContext
| Name |
Type |
Description |
Required |
| transport_provider_rating |
TransportProviderRating |
The rating given by the rider to the transport provider as part of survey type SURVEY_TYPE_TRANSPORT_PROVIDER_RATING |
N |
TransportProviderRating
| Name |
Type |
Description |
Required |
| rating |
int |
The rating value submitted by the rider to the transport provider |
N |
| tags |
array |
The list of tags submitted by the rider to the transport provider |
N |
FinalizedFare
FinalizedFare capturing the total fare value and the version details
| Name |
Type |
Description |
Required |
| total_fare_amount |
string |
Total fare amount value capturing all the line items. |
Y |
| currency_code |
string |
The 3-letter currency code defined in ISO 4217. |
Y |
| line_item_groups |
array<LineItemGroup> |
List of line item groups |
Y |
| version |
int |
fare version |
Y |
| metadata |
Metadata |
Additional fare metadata |
N |
| billing_line_items |
array<BillingLineItem> |
List of billing line items |
N |
| adjustments |
array<Adjustment> |
List of adjustments |
N |
FinalizedFare.LineItemGroup
LineItem groups
| Name |
Type |
Description |
Required |
| line_item_group_id |
string |
The id of the line item group (primary, surcharge,etc) |
Y |
| amount |
string |
sum of the amount value corresponding to the line item group |
Y |
| line_items |
array<LineItem> |
list of line items |
N |
FinalizedFare.LineItemGroup.LineItem
| Name |
Type |
Description |
Required |
| name |
string |
localised name of the line item |
N |
| amount |
string |
Amount value corresponding to the line item |
Y |
| metadata |
LineItemMetadataOneOf |
Metadata specific for a particular line item only. |
N |
| line_item_id |
string |
The id of the line item |
N |
| Name |
Type |
Description |
Required |
| Name |
Type |
Description |
Required |
| transport_provider_cancel_time_threshold_in_seconds |
int |
transport_provider cancellation time threshold in seconds |
Y |
| rider_free_cancel_time_threshold_in_seconds |
int |
rider free cancellation time threshold in seconds |
Y |
| Name |
Type |
Description |
Required |
| Name |
Type |
Description |
Required |
| effective_surge_multiplier |
double |
Effective surge multiplier based on actual surge fees applied |
Y |
| is_surging |
bool |
Surge indicative based on the surge fee applied |
Y |
| Name |
Type |
Description |
Required |
| is_rider_ufp_honored |
bool |
Boolean value to indicate if ufp is honored for rider |
Y |
| Name |
Type |
Description |
Required |
| address_line_1 |
string |
Location title for presentation. This is usually the first line of address that is shown to the user E.g. Uber HQ/ 1455 Market Street/ 11th and Market |
Y |
| address_line_2 |
string |
Location subtitle for presentation E.g. 1515 3rd St, San Francisco, CA |
Y |
| city |
string |
Name of the city E.g. San Francisco |
N |
| postal_code |
string |
Postal code for the address E.g. 94158 |
N |
| state_code |
string |
ISO 3166-2 subdivision code with the country prefix removed E.g. CA |
N |
| country_code |
string |
ISO 3166-1 alpha-2 country code E.g. US |
N |
| locale |
string |
Locale of the address |
N |
IntentOneOf
RideIntentSpecification
| Name |
Type |
Description |
Required |
| product_spec |
ProductSpecification |
Specification regarding the products being asked If not specified then all products matching the intent will be returned |
N |
| origin |
LocationSpecification |
Origin location specification |
Y |
| destination |
LocationSpecification |
Destination location specification If not specified, only products where destination is not required, will be returned |
N |
| via_locations |
array<LocationSpecification> |
Intermediate via locations If specified, only products where multi-destination is enabled will be returned |
N |
| response_options |
ResponseOptions |
Option to the caller to ask for additional metadata in the response |
N |
| advance_order_spec |
AdvanceOrderSpecification |
Specification for advance/airport orders |
N |
RideIntentSpecification.ProductSpecification
| Name |
Type |
Description |
Required |
| target_product_ids |
array |
List of product ids If specified, only those products will be returned |
N |
RideIntentSpecification.ResponseOptions
| Name |
Type |
Description |
Required |
| include_product_details |
bool |
Whether to include the product details in the response |
N |
| include_availability_predictor |
bool |
Whether to include the availability predictor in the response |
N |
JobSpecification
MatchingModeSpecificationOneOf
MatchingSpecification
| Name |
Type |
Description |
Required |
| matching_mode |
string |
Mode of matching Refer to this table for allowed values of MatchingMode. |
Y |
| matching_mode_spec |
MatchingModeSpecificationOneOf |
Specification for the matching mode |
Y |
MatchingMode
| Name |
Number |
Description |
| MATCHING_MODE_INVALID |
0 |
|
| MATCHING_MODE_PIN |
1 |
Pin matching is when a Job is given a pin to match with any available Provider |
PinMatchingSpecification
| Name |
Type |
Description |
Required |
| matching_pin |
string |
PIN to be given to driver to get matched |
Y |
FulfillmentJob
| Name |
Type |
Description |
Required |
| job_id |
string |
The id of the fulfillment job |
Y |
| created_at |
string |
Time at which this job was created |
Y |
| last_updated_at |
string |
Time at which this job was last updated |
Y |
| job_state |
string |
Current state of the fulfillment job |
Y |
| state_entered_at |
string |
The timestamp at which the job entered its current state |
Y |
| transport_provider_context |
TransportProviderContext |
Context of the transport provider assigned to fulfill this job Only available when a vehicle/transport provider is currently assigned to the job |
N |
| job_context |
JobContext |
Context of the job |
N |
| waypoints |
array<Waypoint> |
Waypoints associated with this fulfillment job |
N |
| job_spec |
JobSpecification |
Specification of the job |
N |
JobContext
| Name |
Type |
Description |
Required |
| route_context |
RouteContext |
Route context |
N |
| feedback_context |
FeedbackContext |
Context of the Feedback. Available after the job is completed. |
N |
| tracking_context |
TrackingContext |
Context to track real-time flight status, airline, and schedule for airport pickup/dropoff (RAPU/RADO) trips. Updated dynamically as flight information changes. |
N |
AccessPoint
| Name |
Type |
Description |
Required |
| access_point_id |
string |
Unique identifier of the access point |
Y |
| point |
Point |
Coordinates of the resolved location |
Y |
| title |
string |
Title/label of the access point. |
N |
| subtitle |
string |
Subtitle/Sub-label of the access point. |
N |
| walking_polyline |
string |
A base-64 encoded polyline describing the walking route from the resolved location to this access point. |
N |
| rider_wayfinding |
string |
A verbose note that helps the rider find the pick-up point, i.e. “Meet your driver on the corner of 23rd St & 5th Ave”). Present only for PUDOzonal access points. |
N |
| eligible_product_ids |
array |
Represents eligible product(IDs) that are supported on this access point. If this field is null, then this access point is eligible for all products. Else if present, can be used for filtering |
N |
| rider_wayfinding_detailed |
RiderWayfindingDetailed |
[Optional] Detailed stepwise wayfinding instructions for riders |
N |
| access_point_type |
string |
[Optional] The type of access point. This will be useful in deciding the snapping of PIN on the map. Eg values: pudo, poi-suggestion-snapped, anchor, manual, pudo-alias, poi-suggestion, feature-rich, etc. |
N |
LocationSpecification
| Name |
Type |
Description |
Required |
| point |
Point |
Coordinates of the location |
N |
| location_id |
string |
Id of the location as received from the location_provider |
N |
| location_provider |
string |
The provider of the location |
N |
| formatted_address |
FormattedAddress |
Formatted representation of an address Primarily intended for support purposes to understand what address was shown to the rider in the shopping phase |
N |
| zone_id |
string |
Id of the zone as received from Uber in ResolvedWaypointResponse Set only in case of “uber_geofences” |
N |
Point
| Name |
Type |
Description |
Required |
| latitude |
double |
The latitude coordinate |
Y |
| longitude |
double |
The longitude coordinate |
Y |
ResolvedLocation
| Name |
Type |
Description |
Required |
| point |
Point |
Coordinates of the resolved location |
Y |
| formatted_address |
FormattedAddress |
Formatted address representation of the resolved location. |
Y |
| location_id |
string |
Id of the resolved location corresponding to location_provider |
N |
| location_provider |
string |
The provider of the resolved location |
N |
OrderContext
| Name |
Type |
Description |
Required |
| product_context |
Product |
Product context of this order Available when ‘include_product_details’ option is set in GetOrder request |
N |
| shopping_phase_context |
ShoppingPhaseContext |
Context from the shopping phase Available when ‘include_shopping_phase_context’ option is set in GetOrder request |
N |
ShoppingPhaseContext
| Name |
Type |
Description |
Required |
| eta |
ETA |
ETA that was provided in the GetEstimatesForIntent response if any |
N |
| route |
RouteLeg |
Route leg that was provided in the GetEstimatesForIntent response if any |
N |
| fare_context |
Fare |
The fare for this order, that was provided in the GetEstimatesForIntent response if any. |
N |
FareSpecification
| Name |
Type |
Description |
Required |
| fare_id |
string |
The fare_id for the fare to be applied to the order |
Y |
OrderSpecification
OrderTrackingNotificationSpecification
| Name |
Type |
Description |
Required |
| communication_channel_spec |
CommunicationChannelSpecification |
Communication channel specification for the notification |
Y |
| tracking_events |
array |
List of tracking events for which notifications should be sent TODO add enum values for tracking events |
Y |
CommunicationChannelSpecification
PhoneChannelSpecification
| Name |
Type |
Description |
Required |
| phone_number |
string |
Phone number for communication |
Y |
| channel_types |
array |
List of channel types for communication Refer to this table for allowed values of PhoneChannelType. |
Y |
PhoneChannelType
| Name |
Number |
Description |
| PHONE_CHANNEL_TYPE_INVALID |
0 |
|
| PHONE_CHANNEL_TYPE_CALL |
1 |
|
| PHONE_CHANNEL_TYPE_SMS |
2 |
|
| PHONE_CHANNEL_TYPE_WHATSAPP |
3 |
|
OrderingOptionsSpecification
OrderingOptionsSpecification.PickupOptionsSpecification
| Name |
Type |
Description |
Required |
| meeting_options_spec |
MeetingOptionsSpecification |
Meeting options specification |
N |
| pickup_instructions |
string |
Pickup instructions requested by the participant |
N |
OrderingOptionsSpecification.PickupOptionsSpecification.MeetingOptionsSpecification
OrderingOptionsSpecification.PickupOptionsSpecification.MeetingOptionsSpecification.CurbsideSpecification
| Name |
Type |
Description |
Required |
| requested |
bool |
Whether curbside pickup is requested |
N |
OrderingOptionsSpecification.PickupOptionsSpecification.MeetingOptionsSpecification.MeetAndGreetSpecification
| Name |
Type |
Description |
Required |
| requested |
bool |
Whether meet and greet pickup is requested |
N |
RideOrderSpecification
RideOrderSpecification.ProductSpecification
| Name |
Type |
Description |
Required |
| product_id |
string |
The product id |
Y |
Order
| Name |
Type |
Description |
Required |
| order_id |
string |
The id of the Order |
Y |
| order_spec |
OrderSpecification |
Specification of the order as provided at the time of creating the order |
Y |
| fare |
FinalizedFare |
finalized fare of the order Available only after trip completion |
N |
| created_at |
string |
Time at which this order was created |
Y |
| last_updated_at |
string |
Time at which this order was last updated |
Y |
| order_state |
string |
Current state of the order |
Y |
| state_entered_at |
string |
The timestamp at which the order entered its current state |
Y |
| order_context |
OrderContext |
Context about the order |
N |
| fulfillment_jobs |
array<FulfillmentJob> |
One or more jobs associated with this order defining how the order will be fulfilled |
N |
ChannelDirections
- Direction of the communication channel
| Name |
Type |
Description |
Required |
| can_send |
bool |
Indicates if the user can send using this channel. |
N |
| can_receive |
bool |
Indicates if the user can receive using this channel. |
N |
ConsumerPreferences
| Name |
Type |
Description |
Required |
| temperature_preference |
string |
Preferred in-vehicle temperature setting Refer to this table for allowed values of ConsumerTemperaturePreference. |
N |
| conversation_preference |
string |
Preferred conversation setting Refer to this table for allowed values of ConsumerConversationPreference. |
N |
| luggage_preference |
string |
Preferred luggage handling setting Refer to this table for allowed values of ConsumerLuggagePreference. |
N |
ConsumerTemperaturePreference
| Name |
Number |
Description |
| CONSUMER_TEMPERATURE_PREFERENCE_INVALID |
0 |
|
| CONSUMER_TEMPERATURE_PREFERENCE_NOT_SHOWN |
1 |
|
| CONSUMER_TEMPERATURE_PREFERENCE_NO_PREFERENCE |
2 |
|
| CONSUMER_TEMPERATURE_PREFERENCE_WARM |
3 |
|
| CONSUMER_TEMPERATURE_PREFERENCE_HOT |
4 |
|
| CONSUMER_TEMPERATURE_PREFERENCE_COOL |
5 |
|
| CONSUMER_TEMPERATURE_PREFERENCE_COLD |
6 |
|
ConsumerConversationPreference
| Name |
Number |
Description |
| CONSUMER_CONVERSATION_PREFERENCE_INVALID |
0 |
|
| CONSUMER_CONVERSATION_PREFERENCE_NOT_SHOWN |
1 |
|
| CONSUMER_CONVERSATION_PREFERENCE_NO_PREFERENCE |
2 |
|
| CONSUMER_CONVERSATION_PREFERENCE_QUIET |
3 |
|
| CONSUMER_CONVERSATION_PREFERENCE_CHAT |
4 |
|
ConsumerLuggagePreference
| Name |
Number |
Description |
| CONSUMER_LUGGAGE_PREFERENCE_INVALID |
0 |
|
| CONSUMER_LUGGAGE_PREFERENCE_NOT_SHOWN |
1 |
|
| CONSUMER_LUGGAGE_PREFERENCE_YES |
2 |
|
| CONSUMER_LUGGAGE_PREFERENCE_NO |
3 |
|
ConsumerSpecification
| Name |
Type |
Description |
Required |
| consumer_preferences |
ConsumerPreferences |
Preferences specified by the rider for their trip |
N |
| communication_preferences |
CommunicationPreferences |
Communication preferences for the consumer |
N |
CommunicationPreferences
| Name |
Type |
Description |
Required |
| communication_channels |
array |
List of preferred communication channels Refer to this table for allowed values of CommunicationChannel. |
N |
CommunicationChannel
| Name |
Number |
Description |
| COMMUNICATION_CHANNEL_INVALID |
0 |
|
| COMMUNICATION_CHANNEL_CALL |
1 |
|
| COMMUNICATION_CHANNEL_SMS |
2 |
|
| COMMUNICATION_CHANNEL_WHATSAPP |
3 |
|
| COMMUNICATION_CHANNEL_EMAIL |
4 |
|
EntitySpecificationOneOf
InAppMessage
- Information about in-app messaging
| Name |
Type |
Description |
Required |
| has_in_app_messaging |
bool |
Indicates if this participant has in-app messaging capability. |
N |
| audio |
ChannelDirections |
Information about the audio capabilities |
N |
| text |
ChannelDirections |
Information about the text capabilities |
N |
| photo |
ChannelDirections |
Information about the photo capabilities |
N |
ParticipantCapabilities
| Name |
Type |
Description |
Required |
| in_app_message |
InAppMessage |
Information about the in-app messaging capability. |
N |
ParticipantEntity
| Name |
Type |
Description |
Required |
| user_id |
string |
|
N |
| org_id |
string |
|
N |
| entity_specification_one_of |
EntitySpecificationOneOf |
The participant entity’s specification |
N |
| user_profile |
UserProfile |
User profile this participant entity is operating under |
N |
ParticipantEntity.UserProfile
[OPTIONAL] User profile with respect to the participant entity
| Name |
Type |
Description |
Required |
| profile_id |
string |
The user profile ID. May be absent for callers that only assert a profile type. When set, must be a valid UUID. |
N |
ParticipantSpecification
| Name |
Type |
Description |
Required |
| requester |
ParticipantEntity |
A requester is a user or an org that is requesting a ride from Uber There will always be one requester of an order |
Y |
| consumers |
array<ParticipantEntity> |
A consumer is a user or an org that is consuming the services provided by Uber using these APIs There can be multiple consumers of an order |
N |
| payers |
array<ParticipantEntity> |
A payer is a user or an org that is paying for the services provided by Uber using these APIs There can be multiple payers for an order |
N |
| stakeholders |
array<ParticipantEntity> |
Stakeholders are additional optional entities that may have some level of interest in the fulfillment of the order |
N |
RequesterSpecification
| Name |
Type |
Description |
Required |
| third_party_source_type |
string |
The user profile of the requester |
N |
| capabilities |
ParticipantCapabilities |
The capabilities of the participant |
N |
BusinessPolicy
| Name |
Type |
Description |
Required |
| policy_id |
string |
Identifier of the business policy (a.k.a. policyUUID / program_uuid) |
Y |
| policy_version |
string |
Version of the business policy |
N |
ExpenseInfo
| Name |
Type |
Description |
Required |
| code |
string |
Expense code for the trip |
N |
| memo |
string |
Free-text memo for expense reporting. Appears in trip receipt |
N |
PayerSpecification
| Name |
Type |
Description |
Required |
| payment_profile |
PaymentProfile |
The payment profile to use for the payer. |
N |
| business_policy |
BusinessPolicy |
Business policy (a.k.a. spending cap policy / program_uuid) used by the participant in this order |
N |
| expense_info |
ExpenseInfo |
Additional information for business expensing |
N |
PaymentProfile
| Name |
Type |
Description |
Required |
| payment_profile_type |
string |
The type of payment profile. |
N |
| payment_profile_id |
string |
The payment profile ID. |
N |
OrderPaymentSelectionCriteriaOneOf
Criteria to return payment details for an order
RidePaymentSelectionCriteria
Criteria specific to rides
Position
| Name |
Type |
Description |
Required |
| point |
Point |
Coordinates of the location |
N |
| measured_at |
string |
The timestamp at which the location was measured |
N |
ProductVehicles.Vehicle
| Name |
Type |
Description |
Required |
| vehicle_id |
string |
The vehicle id |
Y |
| positions |
array<Position> |
An array of vehicle positions in increasing order of measured_at - max 30 seconds in past |
Y |
Product
| Name |
Type |
Description |
Required |
| product_id |
string |
Unique identifier for the product |
Y |
| display_name |
string |
Localized display name of the product |
Y |
| short_description |
string |
Localized short description of the product |
Y |
| long_description |
string |
Localized long description of the product |
N |
| capacity |
int |
Capacity of the product |
N |
| product_classification |
ProductClassification |
Product classification info |
N |
| destination_required |
bool |
Whether a destination is required to request this product |
N |
| multi_destination |
MultiDestination |
Multi destination info |
N |
| change_destination |
bool |
Whether changing the destination is supported on-trip (after pickup) |
N |
| pool_enabled |
bool |
Whether the product allows pooling |
N |
| reserve_info |
ReserveInfo |
Info about product’s reservation capabilities |
N |
| product_type_id |
string |
Unique identifier for the product type |
Y |
| image_assets |
ImageAssets |
Image assets for this product |
N |
Product.ImageAssets
| Name |
Type |
Description |
Required |
| product_images |
array<Image> |
Product images |
N |
| background_images |
array<Image> |
Background images for product card display |
N |
Product.MultiDestination
| Name |
Type |
Description |
Required |
| enabled |
bool |
Whether the product allows multi-destination |
N |
| max_destinations |
int |
Maximum number of destinations allowed (via locations + the final destination) |
N |
Product.ProductClassification
| Name |
Type |
Description |
Required |
| product_type |
string |
The product type across all cities where Uber operates |
N |
| product_tier |
string |
Represents the class of the product, determined by price and comfort level |
N |
| product_features |
array |
Product Features. Refer to this table for allowed values of ProductFeatures. |
N |
ProductFeatures
Represents what features are available for a product.
| Name |
| PRODUCT_FEATURE_HIGHER_RATED_DRIVER |
| PRODUCT_FEATURE_MORE_SEATS |
| PRODUCT_FEATURE_MORE_LEG_ROOM |
| PRODUCT_FEATURE_MORE_TRUNK_SPACE |
| PRODUCT_FEATURE_LUXURY_CAR |
| PRODUCT_FEATURE_HYBRID_TAXI |
| PRODUCT_FEATURE_MEET_AND_GREET |
| PRODUCT_FEATURE_CURBSIDE_PICKUP |
Product.ReserveInfo
| Name |
Type |
Description |
Required |
| enabled |
bool |
Whether reservation is enabled for this product |
Y |
| max_threshold_in_minutes |
int |
Defines the maximum time period in advance for booking a trip. |
N |
| min_threshold_in_minutes |
int |
Defines the minimum time period before a trip can be booked. |
N |
| wait_time_threshold_in_seconds |
int |
Defines the wait time that a driver must wait at the rider’s request location (after scheduled pickup time) to begin charging the rider for wait time for Reservation trips. |
N |
| free_cancellation_threshold_in_minutes |
int |
Free cancellation window in minutes before the pick up time. Reservation trips cancelled under this threshold will be charged per cancellation fee policy. |
N |
| Name |
Type |
Description |
Required |
| credit_amount |
string |
Value of the promotion for flat promotions in E5. |
Y |
| currency_code |
string |
The 3-letter currency code defined in ISO 4217. |
Y |
| display_text |
string |
Display information about the promotion. |
N |
| Name |
Type |
Description |
Required |
| percent_value |
double |
Value of the promotion as percentage (0-1). |
Y |
| max_allowed_amount |
string |
A cap on the amount that can be discounted for Trip Percent discounts in E5. |
N |
| currency_code |
string |
The 3-letter currency code defined in ISO 4217. |
N |
| display_text |
string |
Display information about the promotion. |
N |
| Name |
Type |
Description |
Required |
| credit_promotion |
CreditPromotion |
Flat discount/ credit promotion type. Example : $10 off. |
N |
| percent_promotion |
PercentPromotion |
Percent discount promotion type. Example : 10% off. |
N |
AdvanceOrderSpecification
AirportDropoffSpecification
AirportPickupSpecification
| Name |
Type |
Description |
Required |
| flight_spec |
FlightSpecification |
Flight specification for the airport pickup |
Y |
FlightSpecification
| Name |
Type |
Description |
Required |
| flight_designator |
string |
IATA flight designator (e.g. EK101) |
Y |
| airport_code |
string |
IATA airport code of the airport (e.g. DXB) |
Y |
| flight_time_spec |
FlightTimeSpecification |
Time specification for the flight |
Y |
FlightTimeSpecification
| Name |
Type |
Description |
Required |
| date |
string |
Calendar date of the flight, local to the airport in airport_code, formatted exactly as YYYY-MM-DD (e.g. "2026-11-20"). This is a date, not a datetime: do not include a time, a Z suffix, or a UTC offset. Set either date or flight_time_window. See Date & Time Formats. |
N |
| flight_time_window |
Interval |
Time window for the flight. starts_at and ends_at are Unix epoch milliseconds since 1970-01-01T00:00:00Z, encoded as a decimal string. Set either date or flight_time_window. See Date & Time Formats. |
N |
RequestedTimeSpecification
| Name |
Type |
Description |
Required |
| pickup_time_window |
Interval |
Requested pickup time. starts_at and ends_at are Unix epoch milliseconds since 1970-01-01T00:00:00Z, encoded as a decimal string. See Date & Time Formats. |
N |
| dropoff_time_window |
Interval |
Requested dropoff time. starts_at and ends_at are Unix epoch milliseconds since 1970-01-01T00:00:00Z, encoded as a decimal string. See Date & Time Formats. |
N |
TimeWindowOneOf
| Name |
Type |
Description |
Required |
| pickup_time_window |
Interval |
Requested pickup time. starts_at and ends_at are Unix epoch milliseconds since 1970-01-01T00:00:00Z, encoded as a decimal string. See Date & Time Formats. |
N |
| dropoff_time_window |
Interval |
Requested dropoff time. starts_at and ends_at are Unix epoch milliseconds since 1970-01-01T00:00:00Z, encoded as a decimal string. See Date & Time Formats. |
N |
AvailabilityIndicators
| Name |
Type |
Description |
Required |
| request_blocker |
RequestBlocker |
Reason blocking this product from being requested, if any |
N |
| availability_predictor |
AvailabilityPredictor |
Prediction of future supply availability for this product |
N |
AvailabilityIndicators.AvailabilityPredictor
| Name |
Type |
Description |
Required |
| predictor_result |
string |
Predicted supply availability. Refer to this table for allowed values of PredictorResult. |
N |
PredictorResult
| Name |
Number |
Description |
| PREDICTOR_RESULT_INVALID |
0 |
|
| PREDICTOR_RESULT_GREEN |
1 |
|
| PREDICTOR_RESULT_YELLOW |
2 |
|
| PREDICTOR_RESULT_RED |
3 |
|
AvailabilityIndicators.RequestBlocker
| Name |
Type |
Description |
Required |
| block_type |
string |
Whether this product can be booked. Refer to this table for allowed values of BlockType. |
N |
BlockType
| Name |
Number |
Description |
| BLOCK_TYPE_INVALID |
0 |
|
| BLOCK_TYPE_NONE |
1 |
|
| BLOCK_TYPE_WARN |
2 |
|
| BLOCK_TYPE_BLOCK |
3 |
|
OrderingOptions
| Name |
Type |
Description |
Required |
| pickup_options |
PickupOptions |
Pickup options available for this product estimate |
N |
| consumer_options |
ConsumerOptions |
Consumer preference options supported by this product |
N |
OrderingOptions.ConsumerOptions
| Name |
Type |
Description |
Required |
| temperature_preference_enabled |
bool |
Whether in-vehicle temperature preference is supported for this product |
N |
| conversation_preference_enabled |
bool |
Whether conversation preference is supported for this product |
N |
| luggage_preference_enabled |
bool |
Whether luggage preference is supported for this product |
N |
OrderingOptions.PickupOptions
| Name |
Type |
Description |
Required |
| meeting_options |
MeetingOptions |
Meeting options for this product |
N |
| pickup_instructions |
PickupInstructions |
Pickup instructions options for this product |
N |
OrderingOptions.PickupOptions.PickupInstructions
| Name |
Type |
Description |
Required |
| enabled |
bool |
Whether custom pickup instructions are enabled for this product |
N |
OrderingOptions.PickupOptions.MeetingOptions
| Name |
Type |
Description |
Required |
| meet_and_greet |
MeetAndGreet |
Meet and greet option for this product |
N |
| curbside |
Curbside |
Curbside option for this product |
N |
OrderingOptions.PickupOptions.MeetingOptions.Curbside
| Name |
Type |
Description |
Required |
| enabled |
bool |
Whether curbside pickup is enabled for this product |
N |
OrderingOptions.PickupOptions.MeetingOptions.MeetAndGreet
| Name |
Type |
Description |
Required |
| enabled |
bool |
Whether meet and greet pickup is enabled for this product |
N |
RideEstimate
| Name |
Type |
Description |
Required |
| product_estimates |
array<ProductEstimates> |
Estimates for products matching the intent |
N |
RideEstimate.ProductEstimates
| Name |
Type |
Description |
Required |
| product |
Product |
Containing only the product id All product details are included if response_options.include_product_details is set to true |
Y |
| eta |
ETA |
ETA of the product |
N |
| fare |
Fare |
Fares for this order intent |
N |
| route |
RouteLeg |
Route leg from origin to destination ( includes via locations if any ) |
N |
| availability_indicators |
AvailabilityIndicators |
Availability indicators for this product estimate |
N |
| ordering_options |
OrderingOptions |
Ordering options available for this product estimate |
N |
| subvariants |
array<ProductEstimatesSubvariant> |
Alternate, independently-bookable fares for other packages/tiers of this product (e.g. other Hourly durations). Book one by passing subvariants[].fare.fare_id in OrderSpecification.fare_spec.fare_id at CreateOrder time. |
N |
ProductEstimatesSubvariant
An alternate package/tier of a product in RideEstimate.ProductEstimates.
| Name |
Type |
Description |
Required |
| fare |
Fare |
Fare for this package/tier |
N |
RiderWayfindingDetailed
| Name |
Type |
Description |
Required |
| title |
string |
[Required] Title text for this instruction. |
N |
| subtitle |
string |
[Optional] Subtitle text for this instruction. |
N |
| image |
Image |
Image associated with this instruction. |
N |
| wayfinding_steps |
array<WayfindingStep> |
|
N |
WayfindingStep
| Name |
Type |
Description |
Required |
| title |
string |
[Required] Title text for this step. |
N |
| subtitle |
string |
[Optional] Subtitle text for this step. |
N |
| image |
Image |
Image associated with this step. |
N |
RouteContext
| Name |
Type |
Description |
Required |
| route_leg |
RouteLeg |
Route leg from origin to destination ( includes via locations if any ) |
Y |
| positions |
array<Position> |
list of positions |
Y |
RouteLeg
| Name |
Type |
Description |
Required |
| origin |
Point |
The start location of this route leg |
N |
| destination |
Point |
The end location of this route leg |
N |
| encoded_polyline |
string |
Polyline is the string encoded route |
N |
| distance_in_meters |
int |
Distance of this leg of route |
N |
| duration_in_seconds |
int |
Duration of this leg of route |
N |
| haversine_distance_in_meters |
int |
Haversine (straight-line) distance of this leg of route |
N |
Image
| Name |
Type |
Description |
Required |
| url |
string |
Image of an object or entity and its associated metadata |
N |
Interval
| Name |
Type |
Description |
Required |
| starts_at |
string |
Start time of the interval. Unix epoch milliseconds since 1970-01-01T00:00:00Z, encoded as a decimal string (13 digits), e.g. "1793626200000". See Date & Time Formats. |
N |
| ends_at |
string |
End time of the interval. Unix epoch milliseconds since 1970-01-01T00:00:00Z, encoded as a decimal string (13 digits), e.g. "1793626200000". See Date & Time Formats. |
N |
FlightInfo
| Name |
Type |
Description |
Required |
| airline |
Airline |
Airline operating this flight |
N |
| flight_designator |
string |
IATA flight designator (e.g. AI301) |
N |
| status |
string |
Current status of the flight. Refer to this table for allowed values of FlightStatus. |
N |
| departure |
FlightSchedule |
Departure schedule of the flight |
N |
| arrival |
FlightSchedule |
Arrival schedule of the flight |
N |
FlightStatus
| Name |
Number |
Description |
| FLIGHT_STATUS_INVALID |
0 |
|
| FLIGHT_STATUS_SCHEDULED |
1 |
|
| FLIGHT_STATUS_PROPOSED |
2 |
|
| FLIGHT_STATUS_IN_AIR |
3 |
|
| FLIGHT_STATUS_LANDED |
4 |
|
| FLIGHT_STATUS_CANCELLED |
5 |
|
| FLIGHT_STATUS_NO_TAKEOFF_INFO |
6 |
|
| FLIGHT_STATUS_DELAYED |
7 |
|
| FLIGHT_STATUS_OUTGATE |
8 |
|
| FLIGHT_STATUS_INGATE |
9 |
|
| FLIGHT_STATUS_EXPECTED |
10 |
|
| FLIGHT_STATUS_PAST_FLIGHT |
11 |
|
FlightSchedule
| Name |
Type |
Description |
Required |
| airport_code |
string |
IATA airport code (e.g. DXB) |
N |
| estimated_time |
string |
Estimated time for this schedule point. Unix epoch milliseconds since 1970-01-01T00:00:00Z, encoded as a decimal string. |
N |
TrackingContext
| Name |
Type |
Description |
Required |
| flight_info |
FlightInfo |
Context of the flight. Available only for RAPU/RADO trips. This is a dynamic field which is updated based on actual flight status. |
N |
| Name |
Type |
Description |
Required |
| anonymous_voice_number |
string |
A valid phone number, formatted according to the E.164 recommendation |
N |
| anonymous_sms_number |
string |
A valid phone number, formatted according to the E.164 recommendation Note that it could be different from the voice number |
N |
| conversation_id |
string |
ConversationID of chat session |
N |
| private_voice_number |
string |
A valid private phone number, formatted according to the E.164 recommendation Only available when anonymous number is not supported in country of the trip |
N |
| private_sms_number |
string |
A valid private phone number, formatted according to the E.164 recommendation Only available when anonymous number is not supported in country of the trip |
N |
| participant_entity |
ParticipantEntity |
Participant entity associated with this contact info |
N |
TransportProvider
| Name |
Type |
Description |
Required |
| first_name |
string |
First name of the transport provider |
N |
| last_name |
string |
Last name of the transport provider |
N |
| transport_provider_id |
string |
The transport provider’s unique identifier |
N |
TransportProviderContext
| Name |
Type |
Description |
Required |
| transport_provider |
TransportProvider |
Information about the transport provider (driver) |
N |
| vehicle |
Vehicle |
Information about the vehicle |
N |
| last_known_position |
Position |
Last known position of the transport provider |
N |
| contact_info |
ContactInfo |
Information about how to contact this transport provider on the job. Note: This field would be deprecated in future and replaced by contact_infos. |
N |
| contact_infos |
array<ContactInfo> |
List of contact infos which contains information about how to contact this transport provider on the job. This would be used in case of guest trips where there could be multiple contact infos for a single transport provider. |
N |
| contact_infos_v2 |
array<ContactInfoV2> |
List of contact infos which contains information about how to contact this transport provider on the job. TODO: add feature scopes restriction |
N |
| Name |
Type |
Description |
Required |
| anonymous_contact_info |
AnonymousContactInfo |
Anonymous contact information for the transport provider |
N |
| conversation_id |
string |
ConversationID of chat session |
N |
| private_voice_number |
string |
A valid private phone number, formatted according to the E.164 recommendation |
N |
| private_sms_number |
string |
A valid private phone number for sms, formatted according to the E.164 recommendation |
N |
| participant_entity |
ParticipantEntity |
The participant entity associated with this contact info |
N |
| Name |
Type |
Description |
Required |
| known_caller_info |
KnownCallerInfo |
Contact info for a known caller. rider ↔ driver are already identified and matched by the platform. |
N |
| unknown_caller_info |
UnknownCallerInfo |
Contact info for an unknown caller. Platform can’t pre-verify who’s dialing in. The caller must dial the number and enter the PIN before being connected to the real callee. |
N |
KnownCallerInfo
| Name |
Type |
Description |
Required |
| voice_number |
string |
Voice number for the known caller |
N |
| sms_number |
string |
SMS number for the known caller |
N |
UnknownCallerInfo
| Name |
Type |
Description |
Required |
| voice_number |
string |
Voice number for the unknown caller |
N |
| pin |
string |
PIN for anonymous caller identification |
N |
UpdateOrderSpecRequest
Request to update an order spec
| Name |
Type |
Description |
Required |
| update_target |
string |
One of the following specifying what we are trying to update Refer to this table for allowed values of UpdateTarget. |
Y |
| order_spec |
UpdateOrderSpecification |
Updated order spec according to the update target. |
Y |
UpdateTarget
Type of update specifications
| Name |
Number |
Description |
| UPDATE_TARGET_INVALID |
0 |
|
| UPDATE_TARGET_STANDARD_RIDE_DESTINATION_WAYPOINTS |
2 |
Use this to update destination Waypoints in RideOrderSpecification. |
| UPDATE_TARGET_STANDARD_RIDE_ORIGIN_WAYPOINT |
3 |
Use this to update origin Waypoints in RideOrderSpecification. |
| UPDATE_TARGET_REQUESTED_TIME_SPEC |
6 |
Use this option to update the requested time for a reserve/scheduled trip |
| UPDATE_TARGET_FLIGHT_SPEC |
7 |
Use this option to update the flight spec for a reserve trip with airport pickup |
| UPDATE_TARGET_PICKUP_OPTIONS_SPEC |
8 |
Use this option to update the pickup options for a reserve trip |
UpdateOrderSpecification
UpdateRequestOneOf
Request options to update an order
UpdateRideOrderSpecification
UserProfile
| Name |
Type |
Description |
Required |
| user_profile_type |
string |
Type of user-profile |
Y |
| user_profile_attributes |
UserProfileAttributes |
User profile attributes |
N |
| preferred_payment_profile_id |
string |
Preferred payment profile id for the user-profile |
Y |
UserProfileAttributes
| Name |
Type |
Description |
Required |
| user_profile_id |
string |
UUID of the user-profile |
Y |
| user_profile_name |
string |
Name of the user-profile |
Y |
ColorInfo
| Name |
Type |
Description |
Required |
| name |
string |
Name of the color |
N |
| hex_code |
string |
Hex code of the color |
N |
Vehicle
| Name |
Type |
Description |
Required |
| make |
string |
Make of the vehicle. E.g. Maruti Suzuki |
N |
| model |
string |
Model name of the vehicle. E.g. Dzire |
N |
| picture |
Image |
Picture of the vehicle if available |
N |
| license_plate |
string |
License plate number of the vehicle |
N |
| color_info |
ColorInfo |
Color of the vehicle |
N |
WaypointContext
| Name |
Type |
Description |
Required |
| waypoint_type |
string |
Type of the waypoint this requested location is being resolved for. Possible values: “WAYPOINT_TYPE_PICKUP”, “WAYPOINT_TYPE_DROPOFF”. Refer to this table for allowed values of WaypointType. |
Y |
| advance_order_spec |
AdvanceOrderSpecification |
Specification for the requested start/end time of the order. If not specified then order will be considered on-demand. |
N |
WaypointType
| Name |
Number |
Description |
| WAYPOINT_TYPE_INVALID |
0 |
|
| WAYPOINT_TYPE_PICKUP |
1 |
|
| WAYPOINT_TYPE_VIA |
2 |
|
| WAYPOINT_TYPE_DROPOFF |
3 |
|
UpdateLocationRules
| Name |
Type |
Description |
Required |
| enabled |
bool |
Whether updating the location of an entity (where this rule is defined) is allowed at the moment this property is returned. This is a dynamic field, i.e. it represents the current state of the rule. For example - for pickup waypoint, during matching state it will be returned as false, and during assigned state it will be returned as true |
Y |
| max_radius_in_metres |
int |
Maximum haversine distance (from current location) to which location can be edited. |
Y |
UpdateWaypointRules
| Name |
Type |
Description |
Required |
| update_location_rules |
UpdateLocationRules |
Defines actions and actions’ properties that govern updating location of a waypoint. |
N |
WaypointRules
| Name |
Type |
Description |
Required |
| update_waypoint_rules |
UpdateWaypointRules |
Defines actions and actions’ properties that govern updating a waypoint’s attributes. |
N |
PinConfirmationTaskSpecification
| Name |
Type |
Description |
Required |
| pin |
string |
PIN to be shared to driver |
Y |
Waypoint
| Name |
Type |
Description |
Required |
| waypoint_type |
string |
Type of the waypoint Refer to this table for allowed values of WaypointType. |
Y |
| waypoint_state |
string |
Current state of the waypoint |
Y |
| state_entered_at |
string |
The timestamp in millis at which waypoint entered its current state |
Y |
| state_entered_at_position |
Position |
Position at which waypoint entered its current state Available only when the state is : waiting and completed |
N |
| eta |
ETA |
ETA to this waypoint Only available when the waypoint is in non terminal state and the transport provider is associated with the trip. |
N |
| route_legs |
array<RouteLeg> |
The route legs up to this waypoint. Available when ‘include_route_legs’ option is set in GetOrder request. This is only available for the waypoints that are not yet completed ( more accurately, waypoints that are in non terminal state ) and the job is in enroute or later state ( meaning a transport provider is currently on job ). If this is the next waypoint to be completed, then the route legs contain legs from the transport provider’s current position until this waypoint’s location. There can be multiple legs as the transport provider might be completing a different trip (forward dispatch) or picking up/dropping off someone else ( If it is a pool ride ) before reaching this waypoint. If this is NOT the next waypoint, then the route legs contain legs from the last waypoint until this waypoint. There can be multiple legs as the transport provider might be picking up/dropping off someone else ( If it is a pool ride ) |
N |
| waypoint_id |
string |
The id of the waypoint |
Y |
| rules |
WaypointRules |
Waypoint rules. These are the rules that define waypoint specific actions and their properties. For example: UpdateWaypointRules define the actions and actions’ properties that govern updating a waypoint. (example - waypoint location update rules) |
N |
| access_point |
AccessPoint |
The access point (with details) corresponding to this waypoint, if any, set for this order - that was provided in the ResolveWaypointResp. |
N |
| waypoint_tasks |
array<WaypointTask> |
Tasks associated with this waypoint |
N |
| created_at |
string |
The timestamp in millis at which the waypoint was created |
N |
WaypointTask
| Name |
Type |
Description |
Required |
| task_id |
string |
The id of the task |
Y |
| task_type |
string |
Type of the task. Possible values: WAYPOINT_TASK_TYPE_PIN_CONFIRMATION Refer to this table for allowed values of WaypointTaskType. |
Y |
| task_state |
string |
State of the task 3Ps need to show the data accordingly on the app. For PIN, show PIN only when the state is non-terminal. Refer to this table for allowed values of WaypointTaskState. |
Y |
| task_spec |
WaypointTaskSpecificationOneOf |
The spec associated with this task |
Y |
WaypointTaskType
| Name |
Number |
Description |
| WAYPOINT_TASK_TYPE_INVALID |
0 |
|
| WAYPOINT_TASK_TYPE_PIN_CONFIRMATION |
1 |
PIN confirmation task type |
WaypointTaskState
| Name |
Number |
Description |
| WAYPOINT_TASK_STATE_INVALID |
0 |
|
| WAYPOINT_TASK_STATE_PENDING |
1 |
If the task has not started yet |
| WAYPOINT_TASK_STATE_COMPLETED |
2 |
If the task is completed |
| WAYPOINT_TASK_STATE_FAILED |
3 |
If the participant is unable to perform this task |
WaypointTaskSpecificationOneOf
Airline
| Name |
Type |
Description |
Required |
| iata_code |
string |
Official IATA code of the Airline i.e. AA, 6E, DL |
Y |
| name |
string |
Official Name of the Airline i.e. Alaska Airlines, Indigo, Delta |
Y |
| access_point_ids |
array |
[DEPRECATED] Access point (IDs) associated with this Airline. |
N |
| access_points |
array<AccessPoint> |
List of Access points associated with this Airline. |
N |
| popularity |
double |
* popularity rank of the airline, ranging between 1.0 - 100.0, where 1 indicates the most popular airline * |
N |
AirportDropoffZone
| Name |
Type |
Description |
Required |
| id |
string |
If this is the parent zone, then this would be the IATA airport code Else if this is the child airport zone, then this would be the terminal name |
Y |
| name |
string |
Airport Name in case of parent zone, else Terminal Name |
Y |
| full_name |
string |
Full Airport Name in case of parent zone, else Full Terminal Name |
Y |
| access_points |
array<AccessPoint> |
[DEPRECATED] AccessPoints present within this zone. Will be null for hierarchical parent zones. |
N |
| airlines |
array<Airline> |
Ordered list of Airlines supported at this zone in order of priority Will be null for hierarchical parent zones. |
N |
| sub_zones |
array<AirportDropoffZone> |
Ordered list of Airlines supported at this zone in order of priority Will be null for hierarchical parent zones. |
N |
BoundedZones
| Name |
Type |
Description |
Required |
| bounding_rectangle |
BoundingRectangle |
A rectangle bounding box consisting of two {latitude, longitude} pairs that encapsulates the zones returned. |
Y |
| zones |
array<ZoneOneOf> |
Priority-wise ordered list of all nearby parent PUDO zones. |
N |
BoundingRectangle
| Name |
Type |
Description |
Required |
| north_east |
Point |
Represents coordinate of the North-East point of this region |
Y |
| south_west |
Point |
Represents coordinate of the South-West point of this region |
Y |
ZoneInfoOneOf
| Name |
Type |
Description |
Required |
| bounded_zones |
BoundedZones |
Data pertaining to all nearby regular PUDO(PickUpDropOff) Zones. |
N |
| airport_dropoff_zone |
AirportDropoffZone |
Data pertaining to the Airport Drop-off Zone. Present if the requested location is a drop-off at an airport and Uber suggests to trigger Airport Destination Refinement for this airport. |
N |
ZoneOneOf
| Name |
Type |
Description |
Required |
| pudo_zone |
PUDOZone |
A nearby PUDO Zone. |
N |
ZoneOneOf.PUDOZone
| Name |
Type |
Description |
Required |
| id |
string |
Unique identifier of the zone |
Y |
| access_points |
array<AccessPoint> |
AccessPoints associated with the zone. Will be null for hierarchical parent zones. |
N |
| sub_zones |
array<PUDOZone> |
Priority-wise ordered list of zones that are children of this zone. Will be null for terminal zones. |
N |
| name |
string |
Name/label of the zone |
Y |
| polygon |
string |
A string representing a list of coordinates that enclose the zone, encoded in Encoded Polyline Algorithm Format. |
Y |
| categories |
array |
Categories associated with the zone |
N |
OrderInfo
| Name |
Type |
Description |
Required |
| order_type |
string |
Type of the order Refer to this table for allowed values of OrderType. |
Y |
| status |
string |
Status of the order Refer to this table for allowed values of OrderStatus. |
Y |
| product_name |
string |
Name of the product used for the order E.g. UberX |
N |
| request_time |
ReceiptTime |
Time at which the order was requested |
N |
| timezone |
string |
IANA time zone of the order E.g. America/New_York |
N |
OrderType
| Name |
Description |
| RIDES |
A ride order |
OrderStatus
| Name |
Description |
| COMPLETED |
The order was completed |
| CANCELED |
The order was canceled |
| UNSUPPORTED |
The order is in a status that is not supported by this endpoint |
OrderEntity
| Name |
Type |
Description |
Required |
| entity_id |
string |
The id of the user or organization. User ids are obfuscated |
Y |
| entity_type |
string |
Type of the entity Refer to this table for allowed values of CustomerType. |
Y |
| roles |
array |
Roles of the entity in the order Refer to this table for allowed values of OrderEntityRole. |
Y |
| user |
UserDetails |
Details of the user. Present when entity_type is CUSTOMER_TYPE_USER |
N |
| organization |
OrganizationDetails |
Details of the organization. Present when entity_type is CUSTOMER_TYPE_ORGANIZATION |
N |
CustomerType
| Name |
Description |
| CUSTOMER_TYPE_USER |
A user |
| CUSTOMER_TYPE_ORGANIZATION |
An organization |
OrderEntityRole
| Name |
Description |
| REQUESTER |
The entity requested the order |
| CONSUMER |
The entity consumed the order |
| PAYER |
The entity paid for the order |
UserDetails
| Name |
Type |
Description |
Required |
| email |
string |
Email of the user |
N |
| organization_id |
string |
The id of the organization the user belongs to |
N |
OrganizationDetails
| Name |
Type |
Description |
Required |
| name |
string |
Name of the organization |
Y |
FulfillmentInfo
| Name |
Type |
Description |
Required |
| transport_details |
TransportDetails |
Details of the ride |
Y |
TransportDetails
| Name |
Type |
Description |
Required |
| duration |
Duration |
Duration of the ride |
N |
| distance |
Distance |
Distance of the ride |
N |
| pickup_location |
Location |
Pickup location of the ride |
N |
| dropoff_location |
Location |
Dropoff location of the ride |
N |
| pickup_time |
ReceiptTime |
Time at which the rider was picked up |
N |
| dropoff_time |
ReceiptTime |
Time at which the rider was dropped off |
N |
Location
| Name |
Type |
Description |
Required |
| point |
Point |
Coordinates of the location |
N |
| address |
string |
Address of the location |
N |
| city |
string |
City of the location |
N |
| state |
string |
State of the location |
N |
| country |
string |
ISO 3166-1 alpha-2 country code E.g. US |
N |
ReceiptTime
| Name |
Type |
Description |
Required |
| timestamp_utc |
string |
Timestamp in UTC, in RFC 3339 format |
Y |
| timestamp_local |
string |
Timestamp in the local time zone of the order, in RFC 3339 format |
Y |
FareInfo
| Name |
Type |
Description |
Required |
| total_amount |
CurrencyAmount |
Total amount of the order |
Y |
| fare_items |
array<FareItem> |
Fare breakdown of the order |
N |
FareItem
| Name |
Type |
Description |
Required |
| name |
string |
Localised name of the fare item |
Y |
| amount |
CurrencyAmount |
Amount of the fare item |
Y |
| fare_type |
string |
Type of the fare item Refer to this table for allowed values of FareType. |
Y |
FareType
| Name |
Description |
| FARE |
A fare component |
| TIP |
A tip |
| TAX |
A tax |
| DEDUCTION |
A discount or other deduction |
PaymentInfo
| Name |
Type |
Description |
Required |
| entity_fares |
array<EntityChargeDetail> |
Charges of the order per charging entity |
N |
| transactions |
array<Transaction> |
Transactions of the order that belong to your organizations |
N |
EntityChargeDetail
| Name |
Type |
Description |
Required |
| charge_entity_type |
string |
Entity that charged the amount Refer to this table for allowed values of ChargeEntityType. |
Y |
| entity_charges |
array<Charge> |
Charges by the entity |
N |
ChargeEntityType
| Name |
Description |
| UBER |
Charges by Uber |
| DRIVER |
Charges by the driver |
Charge
| Name |
Type |
Description |
Required |
| charge_type |
string |
Type of the charge E.g. FARE, TAX |
Y |
| amount |
CurrencyAmount |
Amount of the charge |
Y |
Transaction
| Name |
Type |
Description |
Required |
| transaction_type |
string |
Type of the transaction E.g. FARE, TIP, ADJUSTMENT |
Y |
| local_currency_amount |
CurrencyAmount |
Amount in the local currency of the order |
Y |
| home_currency_amount |
CurrencyAmount |
Amount in the home currency of the payer |
Y |
| entity_id |
string |
The id of the entity the transaction belongs to. Matches entity_id of an entry in entities |
Y |
| transaction_receipt_pdf |
string |
Short-lived signed URL to the PDF receipt of the transaction |
N |
| taxes |
array<Tax> |
Taxes included in the transaction |
N |
| payment_instrument |
PaymentInstrument |
Payment instrument used for the transaction |
N |
Tax
| Name |
Type |
Description |
Required |
| amount |
CurrencyAmount |
Amount of the tax |
Y |
| name |
string |
Name of the tax |
N |
| rate |
string |
Rate of the tax E.g. 0.16 |
N |
| rate_type |
string |
Type of the tax rate E.g. IVA |
N |
PaymentInstrument
| Name |
Type |
Description |
Required |
| payment_instrument_type |
string |
Type of the payment instrument Refer to this table for allowed values of PaymentInstrumentType. |
Y |
| card_details |
Card |
Details of the card. Present when payment_instrument_type is CARD |
Y |
PaymentInstrumentType
| Name |
Description |
| CARD |
A card |
Card
| Name |
Type |
Description |
Required |
| network |
string |
Card network E.g. VISA, AMERICAN EXPRESS |
Y |
| last4 |
string |
Last four digits of the card number |
Y |
CurrencyAmount
| Name |
Type |
Description |
Required |
| value |
int64 |
Amount in E5 format, i.e. multiplied by 100,000. E.g. 12.34 is represented as 1234000 |
Y |
| currency_code |
string |
The 3-letter currency code defined in ISO 4217. |
Y |