v1

latestOpenAPI 3.1.02026-07-2438302.6 MB

Get Products Group Details

get/product/group/{group_uid}

Path parameters

group_uidstring required

Response

200

typestring

Example response

{
  "type": "success",
  "data": {
    "product_group_uid": "b5f28460-086a-11ef-b1bb-abbf9b4053e6",
    "product_group_name": "Group 1",
    "product_group_description": "<p>Group 1</p>",
    "associated_products": [
      {
        "product": {
          "product_uid": "57415200-038f-11ef-8727-3d85d81c857a",
          "prefix": "PT_001",
          "product_id": "-500 Product",
          "product_category": {
            "category_name": "Electrical",
            "category_uid": "ecdfb500-480d-11ea-85e2-91cf2fb0b4bb"
          },
          "product_barcode": "10",
          "brand": "-500 Product",
          "specification": "-500 Product",
          "uom": "1 Nos",
          "product_name": "-500 Product",
          "product_type": "PRODUCT",
          "meta_data": [
            {
              "label": "QB Product ID",
              "value": "127",
              "_id": "66388eba59ad4836498206d5"
            }
          ],
          "location_availability": [
            {
              "location": {
                "location_name": "Team location 1",
                "location_uid": "afa47af0-1489-11ec-9f07-294a44e6be4e"
              },
              "quantity": 492,
              "min_quantity": 10,
              "created_at": "2024-04-26T05:43:36.839Z",
              "_id": "662b3f0887bd85bcde08f411"
            }
          ],
          "track_quantity": true,
          "quantity": 493,
          "min_quantity": 10,
          "price": -500,
          "purchase_price": 100,
          "has_custom_tax": true,
          "tax": {
            "tax_rate": 10,
            "tax_name": "VAT"
          },
          "is_available": true,
          "created_by": {
            "user_uid": "50689376-6348-41dd-81e3-9d75dc73027d",
            "first_name": "mark",
            "last_name": "cooper",
            "email": "user@zuper.co",
            "designation": "Test",
            "emp_code": "5000",
            "work_phone_number": "1234567890",
            "profile_picture": "https://s3.ap-south-1.amazonaws.com/staging.in.pro.zuper/attachments/6c287db0-ff7c-11e7-b3a8-29b417a4f3fa/924687ab-4112-40c4-b21f-f4dfb839b47c.webp",
            "hourly_labor_charge": 20,
            "is_active": true,
            "created_at": "2023-05-05T06:57:26.000Z",
            "updated_at": "2024-06-26T13:14:00.000Z"
          },
          "created_at": "2024-04-26T05:39:25.093Z",
          "product_no": 833,
          "original_price": -500
        },
        "quantity": 1
      }
    ],
    "is_active": true,
    "created_by": {
      "user_uid": "50689376-6348-41dd-81e3-9d75dc73027d",
      "first_name": "mark",
      "last_name": "cooper",
      "email": "john@zuper",
      "designation": "Test",
      "emp_code": "5000",
      "work_phone_number": "1234567890",
      "profile_picture": "https://s3.ap-south-1.amazonaws.com/staging.in.pro.zuper/attachments/6c287db0-ff7c-11e7-b3a8-29b417a4f3fa/924687ab-4112-40c4-b21f-f4dfb839b47c.webp",
      "hourly_labor_charge": 20,
      "is_active": true,
      "created_at": "2023-05-05T06:57:26.000Z",
      "updated_at": "2024-06-26T13:14:00.000Z"
    },
    "created_at": "2024-05-02T09:59:48.399Z"
  }
}