Creates a new product category

Creates a new product category with the given details.

Request

This endpoint expects an object.
namestringRequired
Name of the product category.
parent_product_category_idintegerOptional
Identifier of the parent category. null if there is no parent category.

Response

Product category created successfully.
product_category_idstring or null
Unique identifier for the newly created product category.
namestring or null
Name of the newly created product category.
parent_product_category_idstring or null
Identifier for the parent category. null if there is no parent category.