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

Version 1 Next »

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

Summary

This API can be used to create a mapping between asn code and box item code.

Description

This API can be used to create a mapping between asn code and box item code.

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

Code to identify the asn created

yes

orderCode

String

code to identify the order in consideration

yes

locationCode

String

code to identify the warehouse where the order is created

yes

boxes

Object[]

List of boxes

yes

boxes.boxCode

String

unique Boxcode

yes

boxes.boxType

String

CD NCD box type cd or non-cd

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

Code to uniquely identify an item

yes

items.channelSkuCode

String

Channel sku code of the item

yes

items.externalBatchCode

Sring

Batch Code

no

items.mfgDate

ZonedDateTime

Manufacturing Date

no

items.expiryDate

ZonedDateTime

Expiry Date

no

Response

Empty Body

 

HttpStatus: 200

  • No labels