Blowhorn API Documentation
  • Welcome
  • API REFERENCE
    • Authentication
      • Customer Authentication
      • Partner Authentication
    • Orders
      • Shipment Orders
      • Marketplace Orders
      • Cancel Order
      • Order Event
      • Order Event History
      • ETA
      • Delivery Partner Details
      • Order Documents
    • Drivers
      • Available Vehicle Class
      • Driver Availability
      • Payday Loan Eligibility
      • Driver Details
      • Driver Balance
      • Driver Deductions
    • Locations
      • Serviceability
      • Hubs
      • Coverage
      • Location Type
      • Storage Type
      • Location Zone
      • Location
    • WMS Inbound
      • Clients
      • Suppliers
      • Purchase Orders
      • Advance Shipping Notice
      • Goods Receipt Note
    • WMS Outbound
      • Shipping Label
      • Shipping Manifest
    • Inventory
      • Product Group
      • Tracking Level
      • Pack Config
      • SKU
      • Inventory
      • Inventory Transaction
    • Webhooks
      • HMAC Authentication
      • Order Status
      • Trip Status
      • Inventory Status
  • Help
    • FAQ
Powered by GitBook
On this page
  • Fetch Product Groups
  • Create Product Groups
  • Update Product Groups

Was this helpful?

  1. API REFERENCE
  2. Inventory

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

Name
Type
Description

name

String

Partial or full text matching the name of the Product Group like 'Travel & Leisure'

description

String

Partial or full text matching the description of the Product Group.

id

String

Blowhorn assigned/supplied integer unique id for the Product Group like 12345

Headers

Name
Type
Description

API_KEY*

String

API key obtained by the Customer/Partner

{
    "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
        }
    ]
}
{
  "status": "FAIL",
  "message": "Unauthorized"
}
{
    "count": 0,
    "previous": null,
    "next": 0,
    "result": []
}
{
  "status": "FAIL",
  "message": "Unexpected error"
}

Create Product Groups

POST /wms/sku/product-group

This API is for creating new Product Groups.

Headers

Name
Type
Description

API_KEY*

String

API key obtained by the Customer/Partner

Request Body

Name
Type
Description

name*

String

Unique text identifier of the Product Group for the client

description

String

Product Group description

id

String

An identifier will be randomly generated by Blowhorn. You can optionally override this ID, but the ID must be unique across all products groups in your account.

{
    "status": "PASS",
    "message": {
        "id": 297
    }
}
{
    "status": "FAIL",
    "message": "Product Group already exists"
}
{
  "status": "FAIL",
  "message": "Unauthorized"
}
{
  "status": "FAIL",
  "message": "Unexpected error"
}
{
    "status": "FAIL",
    "message": "Missing required parameters."
}

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

Name
Type
Description

API_KEY

String

API key obtained by the Customer/Partner

Request Body

Name
Type
Description

id

String

Unique identifier either generated by Blowhorn or provided at the time of Product Group creation.

Note: This is conditionally optional. Either id or name should be provided for identifying the Product Group that needs to be updated.

name

String

Unique text identifier of the Product Group for the client.

Note: This is conditionally optional. Either id or name should be provided for identifying the Product Group that needs to be updated.

description

String

Product Group description

{
    "status": "PASS",
    "message": "Product Group Updated successfully."
}
{
    "status": "FAIL",
    "message": "Product Group does not exists"
}
{
  "status": "FAIL",
  "message": "Unauthorized"
}
{
  "status": "FAIL",
  "message": "Unexpected error"
}
{
    "status": "FAIL",
    "message": "Missing required parameters."
}
{
    "id": 291,
    "name": "Travel & Leisure",
    "description": "This is travel & leisure related group of products."
}
PreviousInventoryNextTracking Level

Last updated 3 years ago

Was this helpful?