- Update a category by ID
Create a new category
Get all categories
Get a category by ID
Delete a category by ID
Update a category by ID
Update a category with the specified ID.
Security
sessionAuth
The updated category object.
- AIPIM Production Serverhttps://api.aipim.fynd.com/service/panel/templates/v1.0/org/{orgId}/category/{id}
curl -i -X PATCH \
'https://api.aipim.fynd.com/service/panel/templates/v1.0/org/{orgId}/category/{id}' \
-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 updated 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" }