- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
- User Guide
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
- User Guide
UpsertProductCategoryDTO
The data to update in a product category.
id
stringOptionalThe ID of the product category to update. If not provided, the product category is created. In this case, the
name
property is required.name
stringOptionalThe name of the product category.
description
stringOptionalThe product category's description.
handle
stringOptionalThe handle of the product category.
is_active
booleanOptionalWhether the product category is active.
is_internal
booleanOptionalWhether the product category is internal. This can be used to only show the product category to admins and hide it from customers.
rank
numberOptionalThe ranking of the category among sibling categories.
parent_category_id
null | stringOptionalThe ID of the parent product category, if it has any.
Holds custom data in key-value pairs.
Was this page helpful?