Create a new category with optional details.
Security
sessionAuth
The category object to be created.
- AIPIM Production Serverhttps://api.aipim.fynd.com/service/panel/templates/v1.0/org/{orgId}/category
curl -i -X POST \
'https://api.aipim.fynd.com/service/panel/templates/v1.0/org/{orgId}/category' \
-H 'Content-Type: application/json' \
-b cc.session=YOUR_API_KEY_HERE \
-d '{
"_id": 0,
"name": "string",
"code": "string",
"archive": true,
"x_org_id": "string",
"created_by": "string",
"modified_by": "string",
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z"
}'Category created successfully.
Response
{ "_id": 0, "name": "string", "code": "string", "archive": true, "x_org_id": "string", "created_by": "string", "modified_by": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }