Skip to end of banner
Go to start of banner

Pack & Get Pack Details

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Inbound | POST 

Summary

This API will pack the order in OMS and required marketplace and return the invoice and shipping label documents in response

Description

It means the shipment is going to be packed with SKUs mentioned in the payload.

Request

{
    "orderCode": "H19304030001",
    "locationCode": "l123",
    "channelId": "Myntra",
    "packageSku": "sku123",
    "weight": 40,
    "fulfillmentType": "BLOCK_COMPLETE",
    "packageDetails": {
        "length": 12,
        "breadth": 6,
        "height": 1,
        "packageSku": "P1"
        },
     "shipmentItems": [
        {
            "clientSkuId": "100000789702",
            "quantityToPack": 5,
            "externalSerialCodes": []
        }
    ]
}

Parameter Name

Data Type

Description

Mandatory

orderCode

String

Unique code used by the channel to identify the order

yes

Response

{
  "orderCode":"H19304030001",
  "locationCode":"l123",
  "channelId":"l123",
  "shipmentCode":"l123",
  "shipmentId":"l123",
  "shippingLabel":{
  "transporter": "INV123",
  "awb": "INV123",
  "shippingLabelUrl": "https://mybrand.com/shipping-Label123.pdf",
  "shippingLabel": "invoiceBase64String",
  }
  "invoiceDetails": [
    {
      "channelSkuCode": "100000789702",
      "clientSkuId": "100000789702",
      "netTaxAmountPerUnit": 60,
      "netTaxAmountTotal": 120,
      "baseSellingPricePerUnit": 500,
      "baseSellingPriceTotal": 1000,
      "actualSellingPricePerUnit": 560,
      "actualSellingPriceTotal": 1120,
      "quantity": 2,
      "taxItems": [
        {
          "type": "SGST",
          "rate": 6,
          "taxPerUnit": 30,
          "taxTotal": 60
        },
        {
          "type": "CGST",
          "rate": 6,
          "taxPerUnit": 30,
          "taxTotal": 60
        }
      ]
    }
   ]
  }
}

HttpStatus : 200 

Parameter Name

Data Type

Description

Mandatory

  • No labels