Create category
POST
header
x-api-key<token>Organization-scoped API key with scope metadata.
application/json- body
name*slug?stringdescription?image?|stringparentId?stringsortOrder?integerRange
-9007199254740991 <= value <= 9007199254740991Category created
application/json- response
id*stringname*slug*stringdescription*|nullimage*|nullparentId*string|nullproductCount*number|nullcurl -X POST 'https://api-prood.vercel.app/v1/admin/categories' \ -H 'Content-Type: application/json' \ -d '{ "name": { "property1": "string", "property2": "string" }}'Example Response
{ "id": "string", "name": { "property1": "string", "property2": "string" }, "slug": "string", "description": { "property1": "string", "property2": "string" }, "image": { "url": "string", "alt": "string", "width": 0, "height": 0 }, "parentId": "string", "productCount": 0}