Create product category
Creates a new product category.
POST
/api/products/categoriesCreates a new product category.
Request Body
application/json
Request payload for Create product category.
name*string
Display name for the category.
Length
1 <= lengthhandle*string
Stable category handle used in URLs and references.
Length
1 <= lengthparentId?||
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