v1

latestOpenAPI 3.1.02026-07-2438302.6 MB

Get All Products Group

get/product/group

Query parameters

sort'ASC' | 'DESC'
sort_by'product_group_name' | 'created_at'
pageinteger
countinteger
limitinteger
filter.product_uidstring
filter.is_activeboolean
filter.keywordstring
filter.business_unitstring

Response

200

typestring
total_recordsinteger
current_pageinteger
total_pagesinteger

Example response

{
  "type": "success",
  "data": [
    {
      "product_group_uid": "1985efa7-2622-49ae-81ae-21527a0479f2",
      "product_group_name": "Group 1",
      "product_group_description": "<p>Group 1</p>",
      "is_active": true,
      "created_by": {
        "user_uid": "48625036-fef6-4637-99e7-f09377a4f9ba",
        "first_name": "john",
        "last_name": "M",
        "email": "john@zuper",
        "designation": "Tech",
        "emp_code": "1234",
        "prefix": "Z22",
        "profile_picture": "https://s3.ap-south-1.amazonaws.com/prod.app.zuperpro/assets/profile_picture.jpg",
        "hourly_labor_charge": 20,
        "is_active": true,
        "created_at": "2024-07-05T06:42:02.000Z",
        "updated_at": "2024-07-05T06:42:02.000Z"
      },
      "created_at": "2024-07-16T05:21:36.226Z",
      "product_count": 1
    }
  ],
  "total_records": 1,
  "current_page": 1,
  "total_pages": 1
}