Versions Compared

Key

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

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

Summary

This API can be used to create a mapping between asn code and box item codeASN , the corresponding boxes and the items in the box.

Description

This API can be used to create a mapping between asn code and box item codeASN , 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

Code Block
languagejson
{
  "asnCode": "ASN123",
  "orderCode": "ORD456",
  "locationCode": "LOC789",
  "boxes": [
    {
      "boxCode": "BOX001",
      "boxType": "CDCROSS_DOCK",
      "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": "NCDSTORAGE",
      "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

Code

Identifier to identify the

asn created

ASN which is created by ERP system

yes

orderCode

String

code

Identifier to identify the Inward order in consideration

yes

locationCode

String

code

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

unique Boxcode

Code to uniquely identify a box

yes

boxes.boxType

String

CD NCD box type cd or non-cd

Possible Values → CROSS_DOCK,STORAGE

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

CD

CROSS_DOCK else

NCD

STORAGE

yes

boxes.items

Object[]

List of line items in a box

yes

items.itemCode

String

Code

Identifier to uniquely identify an item

yes

items.channelSkuCode

String

Channel

sku

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

Code Block
Empty Body

 

HttpStatus: 200