This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Creates a new resource type.
You can only call this method when authenticated as a Wix app or Wix user identity.
function createResourceType(resourceType: ResourceType): Promise<ResourceType>;
Resource type to be created.
import { resourceTypes } from "@wix/bookings";
async function createResourceType(resourceType) {
const response = await resourceTypes.createResourceType(resourceType);
}
There is 1 error with this status code.
There is 1 error with this status code.
This method may also return standard errors. Learn more about standard Wix errors.