This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Creates a category.
function createCategory(
category: Category,
options: CreateCategoryOptions,
): Promise<Category>;
Category to create.
import { categories } from "@wix/categories";
async function createCategory(category, options) {
const response = await categories.createCategory(category, options);
}
There is 1 error with this status code.
There is 1 error with this status code.
There are 5 errors with this status code.
This method may also return standard errors. Learn more about standard Wix errors.