v1

latestOpenAPI 3.0.12026-07-13139143370.4 KB
Locations

Create Linked Service

Use this endpoint to Link Services to a location object. A valid business location id is required. By default, there are no services linked to a location.

Services are definable globally at the Company level and associated with the Primary Business Location, or at a Secondary Business Location. When accessing the Services endpoints, by default, API consumers are provided with a combined list of Services defined from both the Primary and Secondary Business Location.

If necessary, the list of Service(s) provided can be cherry-picked/linked to only include specific Service(s) by using this endpoint. This allows for a subset of defined Services to be provided for a location.

Supplying the list of services ids to cherry-pick/link to the location in the request body will explicitly define which Primary Location Services are offered by the specified business location.

post/setup/v1/locations/{id}/services

Path parameters

idstring required

id of business location, defaults to primary business location

Request body

string[] required

Response

Success

objectstring nullable
idstring nullable
friendlyIdstring nullable
companyIdstring nullable
companyNamestring nullable
namestring nullable
adminEmailstring nullable
adminNamestring nullable
phonestring nullable
faxstring nullable
emailstring nullable
websitestring nullable
regionIdstring nullable
logostring nullable
imageUrlstring nullable
timezoneIdstring nullable
timezoneIanastring nullable
timezoneOffsetinteger nullable
primaryBusinessboolean
primaryCalendarIdstring nullable
latitudenumber double
longitudenumber double