updateBusinessSchedule( )


Developer Preview

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:

  • The 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.
Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Manage Business Schedule
Manage Restaurants - all permissions
Learn more about app permissions.
Method Declaration
Copy
Method Parameters
businessScheduleBusinessScheduleRequired

The site's business schedule in the site time zone.

Did this help?