Three lines

Uber

Developers

PUT /places/{place_id}

This API will be deprecated on December 30th, 2020. Please contact your Uber Business Development representative or Uber point of contact for any questions.

Access to this API endpoint requires approval from Uber.

As part of Uber’s ongoing privacy improvements, we’re changing our Developer API program with new access policies for third party applications.

Please contact your Uber Business Development representative or Uber point of contact to get access to this API.

Places - Update

The Places endpoint allows updating the home and work addresses from an Uber user’s profile.

Resource

PUT /v1.2/places/{place_id}

Authorization

OAuth 2.0 user access token with places scope.

Path Parameters
Name Type Description
place_id string The name of the place to update. Only home and work are acceptable.
PUT Body Parameters
Name Type Description
address string The address of the place that should be tied to the given place_id
Example Request

Replace <TOKEN> in the example below with a user access token

curl -H 'Authorization: Bearer <TOKEN>' \
  -X PUT \
  -H 'content-type: application/json' \
  -d '{
	   "address": "685 Market St, San Francisco, CA 94103, USA"
  }' \
  https://api.uber.com/v1.2/places/home
Response

Status-Code: 200 OK

{
   "address": "685 Market St, San Francisco, CA 94103, USA"
}
Name Type Description
address string Fully qualified address of the location that was saved to place_id. This will likely not be identical to the address in the request and should be checked to confirm it is the intended location.
HTTP Error Codes

Below is a list of the HTTP error codes this endpoint could return.

HTTP Status Code Description
401 unauthorized The supplied bearer token is invalid.
404 unknown_place_id The given place id does not exist.
422 invalid_address Could not find location for provided address.

Uber

Developers
© 2023 Uber Technologies Inc.