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": "CROSS_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": "STORAGE", "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 |
| String | Identifier to identify the ASN which is created by ERP system | yes |
| String | Identifier to identify the Inward order in consideration | yes |
| String | Identifier to identify the warehouse where the order is created | yes |
| Object[] | List of boxes which will be inwarded against the ASN | yes |
| String | Code to uniquely identify a box | yes |
| String | Possible Values → For ASNs where boxes will get crossdocked, box type should always be CROSS_DOCK else STORAGE | yes |
| Object[] | List of line items in a box | yes |
| String | Identifier to uniquely identify an item | yes |
| String | Channel SKU code of the item | yes |
| Sring | Batch Code of the items | no |
| ZonedDateTime | Manufacturing Date of the product | no |
| ZonedDateTime | Expiry Date of the product | no |
Response
Empty Body