Skip to main content
Skip to main content

CreateProductCategoryDTO

A product category to create.

namestringRequired
The product category's name.
parent_category_idnull | stringRequired
The ID of the parent product category, if it has any.
handlestring
The product category's handle.
is_activeboolean
Whether the product category is active.
is_internalboolean
Whether the product category is internal. This can be used to only show the product category to admins and hide it from customers.
ranknumber
The ranking of the category among sibling categories.
metadataRecord<string, unknown>
Holds custom data in key-value pairs.
Was this section helpful?