Inbound | POST | /usp/batch-details

Summary

This API searches for batch details based on batch code and channel SKU code.

Description

This API is used by the External Fulfillment System (EFS) to search and retrieve batch details for a specific product. The search can be performed using batch code, channel SKU code, and optionally supplier code.

Request Body

{
  "batchCode": "BATCH-001",
  "channelSkuCode": "CHANNEL-SKU-001",
  "supplierCode": "SUPPLIER-001"
}
Parameter Name Data Type Description Mandatory
batchCode String External batch code to search Yes
channelSkuCode String Channel SKU code of the product Yes
supplierCode String Supplier code filter No

Response Body

{
  "batchDetails": [
    {
      "channelSkuCode": "CHANNEL-SKU-001",
      "batchCode": "BATCH-001",
      "manufacturingDate": "2024-01-01T00:00:00Z",
      "expiryDate": "2025-12-31T23:59:59Z",
      "supplierCode": "SUPPLIER-001"
    }
  ]
}
Parameter Name Data Type Description
batchDetails Array List of matching batch details
batchDetails.channelSkuCode String Channel SKU code of the product
batchDetails.batchCode String External batch code identifier
batchDetails.manufacturingDate ZonedDateTime Manufacturing date of the batch
batchDetails.expiryDate ZonedDateTime Expiry date of the batch
batchDetails.supplierCode String Supplier code associated with the batch

HttpStatus: 200