Skip to main content
Skip to main content

AdminPostProductCategoriesReq

The details of the product category to create.

Properties

namestringRequired
The name of the product category
descriptionstring
The description of the product category.
handlestring
The handle of the product category. If none is provided, the kebab-case version of the name will be used. This field can be used as a slug in URLs.
is_activeboolean
If set to false, the product category will not be available in the storefront.
is_internalboolean
If set to true, the product category will only be available to admins.
metadataRecord<string, unknown>
An optional set of key-value pairs to hold additional information.
parent_category_idnull | string
The ID of the parent product category
Was this section helpful?