Uber API
v. 1.0.0
Description:
Move your app forward with the Uber API
Base url: api.uber.com/v1/
API Endpoints
Products - Get all or some
Get all products with all attributes.
Success
200 (Object[])
Field |
Type |
Description |
product_id
|
string |
Unique identifier representing a specific product. |
description
|
string |
Description of product. |
display_name
|
string |
Display name of product. |
category
|
string |
Category of product. For example, "gizmo". |
components
|
Object[] |
Array of component objects |
- component_id
|
integer |
Unique identifier representing a specific component of a product. |
- component_name
|
string |
Display name of component. |
alternative_names
|
String[] |
|
Error
500 (Object)
Field |
Type |
Description |
code
|
integer |
|
message
|
string |
|
fields
|
string |
|
Parameters
Name |
In |
Required |
Type |
Description |
name |
body |
true |
string |
Product name |
tag |
body |
true |
string |
|
Success
200 (Object)
Field |
Type |
Description |
product_id
|
integer |
Updated product's id. |
Error
500 (Object)
Field |
Type |
Description |
code
|
integer |
|
message
|
string |
|
fields
|
string |
|
Update a subset of a product's attributes.
Parameters
Name |
In |
Required |
Type |
Description |
product_id |
query |
true |
integer |
Product ID. |
Success
200 (Object)
Field |
Type |
Description |
product_id
|
integer |
Updated product's id. |
Error
500 (Object)
Field |
Type |
Description |
code
|
integer |
|
message
|
string |
|
fields
|
string |
|