Creates a resource.
The createResource()
function returns a Promise that resolves to the created resource.
Bookings resources are created with a schedule. The schedule determines the resource's availability by the business's default working hours.
When creating a resource using createResource()
, get the business resource's schedule ID and include it in the schedules
object. The default hours can bee found in the Dashboard under Settings in the Bookings section, on the Appointment hours page.
Notes:
Resource to create.
Options for assigning a schedule to a resource.