Skip to main content

registerProductCategory

DEPRECATED

Use productAddAttributes mutation instead. This mutation will be removed in the future.

Add a new product category. The category will be added to the current brand.

The actor should have the add_product_category permission.

Headers:​

HeaderValueRequired
AuthorizationBearer [token]Yes
registerProductCategory(
input: RegisterProductCategoryInput!
): ProductCategory @deprecated

Arguments​

registerProductCategory.input ● RegisterProductCategoryInput! non-null input common​

Parameters for RegisterProductCategory

Type​

ProductCategory object products​