Skip to content

Import a Manifest

Import a JSON representation of a manifest of inbound stock.

Direction WMS → WCS

HTTP Method POST

Path /api/goodsIn/import

{
"manifestNumber": "MAN-2024-001",
"scanCode": "SCAN123456789",
"lines": [
{
"productId": "ABC123",
"externalReference": "REF-001",
"batchId": "BATCH-2024-11",
"expiry": "2025-06-01",
"stockOwner": "THG",
"quantity": 24
},
{
"productId": "DEF456",
"externalReference": "REF-002",
"batchId": "BATCH-2024-12",
"expiry": "2025-08-15",
"stockOwner": "THG",
"quantity": 12
}
]
}

202: Manifest accepted

400: Manifest failed validation

401: Access denied, Invalid Authentication

{
"message": "Manifest import request accepted",
"manifestNumber": "MAN-2024-001",
"status": "ACCEPTED"
}
{
"message": "Validation failed",
"errors": [
"manifestNumber is required",
"lines cannot be empty"
]
}