PUT businesses/:id
Updates a single business in the localtunity network with id equal to the :id parameter.
Resource URL
https://api.localtunity.com/v2/businesses/:id
Example
curl -X PUT -H "Content-Type: application/json" -H "Authorization: Bearer {access_token}" https://api.localtunity.com/v2/businesses/{id}
Response 204 Status Code
Parameters
Note about time parameters:
Fields that represent time need to be civilian time formatted with the hours number (1-12), directly followed by a colon, directly followed by the minute number which must be divisible by 15 (00, 15, 30 45), directly followed by the period (am, pm). There must not be any spaces. Examples of acceptable formats: "9:00am", "10:15AM", "8:30pm", "11:45PM" Examples of unacceptable formats: "9:00 am", "12:11pm","9:01am", "13:00am", "0900"
name: (string, 255 characters max, optional) The name of the business.
email: (string, 255 characters max, optional) The primary email address for the business.
phone_one: (string, 100 characters max, optional) The primary phone number for the business.
website: (string, 255 characters max, optional) The business's website url.
description: (string, optional) A description of the business's services.
is_multi_location: (boolean, 0|1, optional) Defaults to false. Determines if Multi-Location Viewing logic is used when displaying the business to a frontend user. When turned on, Primary location logic will not be used, the location displaed on the business app homepage will be determiend by the location_id provided in the url. Proper url structure for multi_location businesses homepages: https://localtunity.com/:business/:location_id
category_one_id: (integer, optional) The id of the businesse's first category. A list of categories can be fetched with the categories end-point.
category_two_id: (integer, optional) The id of the businesse's second category. A list of categories can be fetched with the categories end-point.
category_three_id: (integer, optional) The id of the businesse's third category. A list of categories can be fetched with the categories end-point.
monday_opening_hours: (integer, See the note about time parameters, optional) The time that the business opens up on Mondays.
monday_closing_hours: (integer, See the note about time parameters, optional) The time that the business closes up on Mondays.
tuesday_opening_hours: (integer, See the note about time parameters, optional) The time that the business opens up on Tuesdays.
tuesday_closing_hours: (integer, See the note about time parameters, optional) The time that the business closes up on Tuesdays.
wednesday_opening_hours: (integer, See the note about time parameters, optional) The time that the business opens up on Wendesdays.
wednesday_closing_hours: (integer, See the note about time parameters, optional) The time that the business closes up on Wednesdays.
thursday_opening_hours: (integer, See the note about time parameters, optional) The time that the business opens up on Thursdays.
thursday_closing_hours: (integer, See the note about time parameters, optional) The time that the business closes up on Thursdays.
friday_opening_hours: (integer, See the note about time parameters, optional) The time that the business opens up on Fridays.
friday_closing_hours: (integer, See the note about time parameters, optional) The time that the business closes up on Fridays.
saturday_opening_hours: (integer, See the note about time parameters, optional) The time that the business opens up on Saturdays.
saturday_closing_hours: (integer, See the note about time parameters, optional) The time that the business closes up on Saturdays.
sunday_opening_hours: (integer, See the note about time parameters, optional) The time that the business opens up on Sundays.
sunday_closing_hours: (integer, See the note about time parameters, optional) The time that the business closes up on Sundays.