Product Group

Product Group is a category of SKUs that belong to like Electronics, Apparels, etc.

Fetch Product Groups

GET /wms/sku/product-group

This api returns all or a set of Product Groups configured depending on the filter criteria passed or not. Note when more than one below parameters are sent the result will be filtered matching all the parameters and not any one. so filter should be applied accordingly or else result would be empty if all conditions are not met.

Query Parameters

Headers

{
    "count": 1,
    "previous": null,
    "next": 0,
    "result": [
        {
            "id": 9,
            "created_date": "2021-07-30T17:39:32.787735+05:30",
            "modified_date": "2021-07-30T17:39:32.787755+05:30",
            "name": "Instants",
            "description": "Ready to cook products",
            "created_by": null,
            "modified_by": null,
            "customer": 40082
        }
    ]
}

Create Product Groups

POST /wms/sku/product-group

This API is for creating new Product Groups.

Headers

Request Body

{
    "status": "PASS",
    "message": {
        "id": 297
    }
}

Update Product Groups

PUT /wms/sku/product-group

This API is for updating an existing Product Group. Any or all of the below mentioned attribute of the Product Group can be updated using this API.

Headers

Request Body

{
    "status": "PASS",
    "message": "Product Group Updated successfully."
}
{
    "id": 291,
    "name": "Travel & Leisure",
    "description": "This is travel & leisure related group of products."
}

Last updated