Inbound | POST | /usp/batch-details/create

Summary

This API creates batch details for perishable products.

Description

This API is used by the External Fulfillment System (EFS) to create or register batch details for perishable products. Batch details include information such as batch code, manufacturing date, expiry date, and supplier code. These batch details are required for batch-based inventory management and order fulfillment.

Request Body

{
  "batchDetails": [
    {
      "channelSkuCode": "CHANNEL-SKU-001",
      "batchCode": "BATCH-001",
      "manufacturingDate": "2024-01-01T00:00:00Z",
      "expiryDate": "2025-12-31T23:59:59Z",
      "supplierCode": "SUPPLIER-001"
    },
    {
      "channelSkuCode": "CHANNEL-SKU-002",
      "batchCode": "BATCH-002",
      "manufacturingDate": "2024-02-15T00:00:00Z",
      "expiryDate": "2025-06-30T23:59:59Z",
      "supplierCode": "SUPPLIER-002"
    }
  ]
}
Parameter Name Data Type Description Mandatory
batchDetails Array List of batch details to create (minimum 1 item) Yes
batchDetails.channelSkuCode String Channel SKU code of the product Yes
batchDetails.batchCode String External batch code identifier Yes
batchDetails.manufacturingDate ZonedDateTime Manufacturing date of the batch Yes
batchDetails.expiryDate ZonedDateTime Expiry date of the batch Yes
batchDetails.supplierCode String Supplier code associated with the batch No

Response Body

HttpStatus: 200

No response body. A successful request returns HTTP 200 status code.