Recerc

Create product category

Creates a new product category.

POST/api/products/categories

Creates a new product category.

Request Body

application/json

Request payload for Create product category.

name*string

Display name for the category.

Length1 <= length
handle*string

Stable category handle used in URLs and references.

Length1 <= length
parentId?||

Parent category identifier when creating a nested category.

externalId?||

External system identifier for the category when synced.

metadata?|

Additional metadata stored with the category.

[key: string]?never

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json