POST
request to create group for item.ApiKey: ********************
{
"name": "Laptop",
"parent_id": 1
}
curl --location --request POST 'https://app.hisabkitab.co/third-party/item-groups' \
--header 'Content-Type: application/json' \
--header 'ApiKey;' \
--data-raw '{
"name": "Laptop",
"parent_id": 1
}'
{
"data": {
"id": 4,
"name": "Laptop",
"parent_id": "1",
"parent_group": {
"id": 118,
"name": "Default Group",
"parent_id": null,
"company_id": 6,
"is_default_group": 1,
"via_api": 0,
"created_at": "2023-02-27T05:43:44.000000Z",
"updated_at": "2023-05-12T07:33:20.000000Z"
},
"company_id": 6,
"is_default_group": false,
"via_api": true,
"created_at": "2025-02-11T09:46:19.000000Z",
"updated_at": "2025-02-11T09:46:19.000000Z"
},
"success": true,
"message": "Item Group Created Successfully."
}