Create Label And Awb

Create Label And Awb

POST https://wms.eshopbox.com/api/unicommerce/orders/labels

This endpoint assigns couriers and marks the shipment packed.

Headers

NameTypeDescription

Authentication

string

The Bearer token which grants access to the API

Request Body

NameTypeDescription

boxHeight

number

box height

boxLength

number

box length

boxWidth

number

box width

weight

number

weight of order

orderItems

array

order items

{
    "status": "SUCCESS",
    "orderItems": [
        {
            "orderItemID": "408-3131237-0000110-67"
        },
        {
            "orderItemID": "408-3131237-0000110-68"
        }
    ]
}

The orderItems array[object]

Attribute

Type

Description

orderItemId

string

unique generated item id by eshopbox

invoiceNumber

string

invoice number of a shipment (generated at the time of packed )

invoiceDate

string

date on which invoice is generated

taxRate

number

the tax rate on the item

centralGstPercentage

number

central GST percentage on the item

compensationCessPercentage

number

compensation cess percentage

integratedGstPercentage

number

integrated GST percentage

stateGstPercentage

number

state GST percentage

unionTerritoryGstPercentage

number

union territory GST percentage

curl --location --request POST 'https://wms.eshopbox.com/api/unicommerce/orders/labels' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer ACCESS_TOKEN' \
--data-raw '{
  "boxHeight": 2,
  "boxLength": 2,
  "boxWidth": 2,
  "weight": 2,
  "orderItems": [
    {
      "orderItemId": "408-3131237-0000110-67",
      "invoiceNumber": "string",
      "invoiceDate": "2017-01-02T08:12:53",
      "taxRate": 0,
      "centralGstPercentage": 0,
      "compensationCessPercentage": 0,
      "integratedGstPercentage": 0,
      "stateGstPercentage": 0,
      "unionTerritoryGstPercentage": 0
    },
    {
      "orderItemId": "408-3131237-0000110-68",
      "invoiceNumber": "string",
      "invoiceDate": "2017-01-02T08:12:53",
      "taxRate": 0,
      "centralGstPercentage": 0,
      "compensationCessPercentage": 0,
      "integratedGstPercentage": 0,
      "stateGstPercentage": 0,
      "unionTerritoryGstPercentage": 0
    }
  ]
}
'

Last updated