POST businesses/:id/locations
Add an additional location to an existing business.
Resource URL
https://api.localtunity.com/v2/businesses/:id/locations
Example
curl -X POST -H "Content-Type: application/json" -H "Authorization: Bearer {access_token}" https://api.localtunity.com/v2/businesses/{id}/locations
Response 201 Status Code
{"id":"4328549"}
Parameters
name: (string, 255 characters max, required) The name of the business location.
phone_one: (string, 100 characters max, required) 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, required) 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, required) The city for the business.
state: (string, 255 characters max, required) The 2 letter abberevation for the business's state/province.
zip_code: (string, required) The zip code for the business.
country_iso: (string, 2 characters max, required) 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