This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Creates multiple resources.
You can only call this method when authenticated as a Wix app or Wix user identity.
function bulkCreateResources(
resources: Array<Resource>,
options: BulkCreateResourcesOptions,
): Promise<BulkCreateResourcesResponse>;
Resources to create.
import { resources } from "@wix/bookings";
async function bulkCreateResources(resources, options) {
const response = await resources.bulkCreateResources(resources, options);
}
There are 5 errors with this status code.
This method may also return standard errors. Learn more about standard Wix errors.