Import a Manifest
Import a JSON representation of a manifest of inbound stock.
Direction WMS → WCS
HTTP Method POST
Path /api/goodsIn/import
Request Body
Section titled “Request Body”{ "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 } ]}Responses
Section titled “Responses”202: Manifest accepted
400: Manifest failed validation
401: Access denied, Invalid Authentication
Success Response (202)
Section titled “Success Response (202)”{ "message": "Manifest import request accepted", "manifestNumber": "MAN-2024-001", "status": "ACCEPTED"}Error Response (400)
Section titled “Error Response (400)”{ "message": "Validation failed", "errors": [ "manifestNumber is required", "lines cannot be empty" ]}