This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Updates the default location's business schedule.
The updateBusinessSchedule()
function returns a Promise that resolves when the site's business schedule is updated.
Note:
updateBusinessSchedule()
function overwrites the current business schedule. businessSchedule
is an array, so it must be written in its entirety. Therefore, you must modify the existing array and pass it in the function call.You can only call this method when authenticated as a Wix app or Wix user identity.
The site's business schedule in the site time zone.