Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

Code Block
{
    "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

Code Block
{
  "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
        }
      ]
    }
   ]
  }
}

...