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": "5c105a0e-04fa-4728-9193-f67022832eed",
"scanCode": "SCAN12345",
"refill": false,
"lines": [
{
"externalReference": "c4a62c29-a7b8-4cfd-8fb7-436534358853",
"productId": "PROD12345",
"batchId": "BATCH12345",
"expiry": "01/01/2027",
"stockOwner": "OWNER12345",
"quantity": 10.0
}
]
}

202: Manifest import passed validation

{
"message": "Accepted"
}

400: Manifest import failed validation

{
"message": "Bad Request",
"errors": [
{
"message": "Manifest field ManifestNumber must not be null and contain at least 1 non-whitespace character",
"path": "manifestNumber"
},
{
"message": "Manifest field ScanCode must not be null and contain at least 1 non-whitespace character",
"path": "scanCode"
},
{
"message": "Manifest field Lines must not be empty",
"path": "lines"
},
{
"message": "Line field ProductId must not be null and contain at least 1 non-whitespace character",
"path": "lines[0].productId"
},
{
"message": "Line field Quantity must not be null",
"path": "lines[0].quantity"
},
{
"message": "Line field Quantity must be a positive number",
"path": "lines[0].quantity"
}
]
}

401: Access denied, Invalid Authentication

{
"message": "Unauthorized"
}