Pack Config

Pack configuration define how the SKU is packaged, how the unit of metrics are for the SKU and linked with the tracking level of the SKU

Fetch Package Config

GET /wms/sku/pack-config

This api returns all or a set of Package Config 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

NameTypeDescription

name

String

Partial or full text matching the name of the Package Config like 'Box of 25'

id

String

Blowhorn assigned/supplied integer unique id for the Package Config like 12345

Headers

NameTypeDescription

API_KEY*

String

API key obtained by the Customer/Partner

{
    "count": 1,
    "previous": null,
    "next": 0,
    "result": [
        {
            "id": 61,
            "tracking_level_dict": {
                "name": "Each",
                "level_one_name": "Each",
                "level_two_name": "Box of 25",
                "level_three_name": "Pallet for 25",
                "ratio_level_two_one": 25,
                "ratio_level_three_two": 1
            },
            "created_date": "2022-04-29T14:09:33.047659+05:30",
            "modified_date": "2022-04-29T14:09:33.049242+05:30",
            "name": "Box of 200",
            "each_volume": 100,
            "each_weight": 750,
            "tag_volume": 1,
            "use_each_volume": true,
            "use_tag_volume": false,
            "uom": "cc",
            "created_by": 108434,
            "modified_by": null,
            "tracking_level": 4,
            "each_dimension": 3548619,
            "customer": 40082,
            "color": null
        }
    ]
}

Create Package Config

POST /wms/sku/pack-config

This API is for creating new Package Configs.

Headers

NameTypeDescription

API_KEY*

String

API key obtained by the Customer/Partner

Request Body

NameTypeDescription

name*

String

Unique text identifier of the Package Configs for the client

tracking_level

Integer

Tracking Level unique id to used for this package config.

Note: Either tracking_level or tracking_level_name should be provided even both of them marked as optional.

id

Integer

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

tracking_level_name

String

Tracking Level unique name to used for this package config.

Note: Either tracking_level or tracking_level_name should be provided even both of them marked as optional. This field is case-sensitive.

each_volume

Integer

Package volume ?

each_weight

Integer

Package weight ?

tag_volume

Integer

Tag Volume ?

use_each_volume

Boolean

Flag to indicate to use 'each_volume' attribute of the package

use_tag_volume

Boolean

Flag to indicate to use 'tag_volume' attribute of the package

uom

String

Unit of weight or volume of the package. Ex: KG

each_dimension

String

This is the dimension of the package in the format of '<Length>x<breadth>x<height> uom' ex: '10x10x10 cc'

color

String

Color of the package.

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

Update Package Config

PUT /wms/sku/pack-config

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

Headers

NameTypeDescription

API_KEY

String

API key obtained by the Customer/Partner

Request Body

NameTypeDescription

id

String

Unique identifier either generated by Blowhorn or provided at the time of Package Config creation.

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

name

String

Unique text identifier of the Package Config for the client.

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

tracking_level

Integer

Tracking Level unique id to used for this package config.

Note: Either tracking_level or tracking_level_name should be provided even both of them marked as optional.

tracking_level_name

String

Tracking Level unique name to used for this package config.

Note: Either tracking_level or tracking_level_name should be provided even both of them marked as optional. This field is case-sensitive.

each_volume

Integer

Package volume

each_weight

String

Package weight

uom

Integer

Unit of weight or volume of the package. Ex: KG

use_each_volume

Boolean

Flag to indicate to use 'each_volume' attribute of the package

use_tag_volume

Boolean

Flag to indicate to use 'tag_volume' attribute of the package

tag_volume

Integer

Tag Volume

each_dimension

String

This is the dimension of the package in the format of '<Length>x<breadth>x<height> uom' ex: '10x10x10 cc'

color

String

Color of the package

{
    "status": "PASS",
    "message": "Package Config Updated successfully."
}
{
    "id": 2001
    "name": "Box of 200",
    "tracking_level": 1,
    "tracking_level_name": "Each",
    "each_volume": 100,
    "tag_volume": 1,
    "each_weight": 750,
    "uom": "KG",
    "use_each_volume": true,
    "use_tag_volume": false,
    "each_dimension": "10x10x10 cc",
    "color": "Grey"
}

Last updated