CreateProductCategoryDTO
A product category to create.
name
stringRequiredThe product category's name.
parent_category_id
null | stringRequiredThe ID of the parent product category, if it has any.
handle
stringThe product category's handle.
is_active
booleanWhether the product category is active.
is_internal
booleanWhether the product category is internal. This can be used to only show the product category to admins and hide it from customers.
rank
numberThe ranking of the category among sibling categories.
metadata
Record<string, unknown>Holds custom data in key-value pairs.
Was this section helpful?