createSchedule( )


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Creates a schedule.

If you want the schedule's events to appear in the Bookings calendar, you must set appId to the ID of the Wix Bookings app by providing {"appId": "13d21c63-b5ec-5912-8397-c3a5ddb27a97"}.

Authentication

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

Permissions
Manage Bookings - all permissions
Manage Bookings
Manage Calendars
Learn more about app permissions.
Method Declaration
Copy
Method Parameters
scheduleScheduleRequired

Schedule to create.


optionsCreateScheduleOptions
Returns
Return Type:Promise<Schedule>
Did this help?