v1

latestOpenAPI 3.0.12026-07-13139143370.4 KB
Locations

Update Location Holidays

Use this endpoint to Update Business Holidays as Opened or Closed. A valid business location id is required. If not specified, the business location defaults to the primary business location.

Holidays are automatically defined with the initial Post Location endpoint and are based on country code. Find your location holiday codes by using the: GET /setup​/v1​/locations​/{id} endpoint. Change your holidays to open or closed by passing in the holidayId along with the closed boolean value to change the status of a specific holiday. Pass in an asterisk * for the holidayId then all business holidays will be set as defined.

put/setup/v1/locations/{id}/holidays/{holidayId}/{closed}

Path parameters

idstring required
holidayIdstring required
closedboolean 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