Skip to end of banner
Go to start of banner

ASN-Box-Item Code Mapping (New API) (Beta)

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 3 Next »

Inbound | POST |/shipment/asn/box-item-mapping 

Summary

This API can be used to create a mapping between ASN , the corresponding boxes and the items in the box.

Description

This API can be used to create a mapping between ASN , the corresponding boxes and the items in the box. The boxes will be inwarded directly during the GRN process in warehouse once the mapping is created using this API.

Request

{
  "asnCode": "ASN123",
  "orderCode": "ORD456",
  "locationCode": "LOC789",
  "boxes": [
    {
      "boxCode": "BOX001",
      "boxType": "CD",
      "items": [
        {
          "itemCode": "ITEM001",
          "channelSkuCode": "SKU001",
          "externalBatchCode": "BATCH123",
          "mfgDate": "2023-07-25T10:00:00Z",
          "expiryDate": "2023-12-31T23:59:59Z"
        },
        {
          "itemCode": "ITEM002",
          "channelSkuCode": "SKU002",
          "externalBatchCode": "BATCH456",
          "mfgDate": "2023-06-15T09:30:00Z",
          "expiryDate": "2023-11-30T23:59:59Z"
        }
      ]
    },
    {
      "boxCode": "BOX002",
      "boxType": "NCD",
      "items": [
        {
          "itemCode": "ITEM003",
          "channelSkuCode": "SKU003",
          "externalBatchCode": "BATCH789",
          "mfgDate": "2023-08-05T12:15:00Z",
          "expiryDate": "2024-03-31T23:59:59Z"
        }
      ]
    }
  ]
}

 

BoxItemCodeMappingClientForm

Parameter Name

Data Type

Description

Mandatory

asnCode

String

Identifier to identify the ASN which is created by ERP system

yes

orderCode

String

Identifier to identify the Inward order in consideration

yes

locationCode

String

Identifier to identify the warehouse where the order is created

yes

boxes

Object[]

List of boxes which will be inwarded against the ASN

yes

boxes.boxCode

String

Code to uniquely identify a box

yes

boxes.boxType

String

Possible Values → CD , NCD

For ASNs where boxes will get crossdocked, box type should always be CD else NCD

yes

boxes.items

Object[]

List of line items in a box

yes

items.itemCode

String

Identifier to uniquely identify an item

yes

items.channelSkuCode

String

Channel SKU code of the item

yes

items.externalBatchCode

Sring

Batch Code of the items

no

items.mfgDate

ZonedDateTime

Manufacturing Date of the product

no

items.expiryDate

ZonedDateTime

Expiry Date of the product

no

Response

Empty Body

 

HttpStatus: 200

  • No labels