PUT businesses/:id/locations/:location-id

Update an existing location for a business.

Resource URL

https://api.localtunity.com/v2/businesses/:id/locations/:location-id

Example

curl -X PUT -H "Content-Type: application/json" -H "Authorization: Bearer {access_token}" https://api.localtunity.com/v2/businesses/{id}/locations/{location-id}

Response 204 Status Code

Parameters

name: (string, 255 characters max, optional) The name of the business location.

phone_one: (string, 100 characters max, optional) The phone number for this location.

website: (string, 255 characters max, optional) The business's website url for this location.

lat: (float, optional) The latitude of the business. If omitted, we will attempt to translate the address into lat/lng coordinates.

lng: (float, optional) The longitude of the business. If omitted, we will attempt to translate the address into lat/lng coordinates.

address_one: (string, 255 characters max, optional) The first line of the street address for the business.

address_two: (string, 255 characters max, optional) The second line of the street address for the business.

city: (string, 255 characters max, optional) The city for the business.

state: (string, 255 characters max, optional) The 2 letter abberevation for the business's state/province.

zip_code: (string, optional) The zip code for the business.

country_iso: (string, 2 characters max, optional) The 2 digit iso code representing the country for your businesses. You can find a complete list of these codes here: http://www.worldatlas.com/aatlas/ctycodes.htm