Skip to main content
Skip to main content

CreateProductCategoryDTO

A product category to create.

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.
metadataRecord<string, unknown>
Holds custom data in key-value pairs.
namestringRequired
The product category's name.
parent_category_idnull | stringRequired
The ID of the parent product category, if it has any.
ranknumber
The ranking of the category among sibling categories.
Was this section helpful?