Creates a new batch for inspection. Requires shipment type selection.
Request
Add the parameter Authorization
to Headers Example:Authorization: ********************
or
Body Params application/jsonRequired
{
"branch_id": 1,
"supplier_id": 1,
"shipment_type": "frozen_raw",
"food_name": "Tomatoes",
"notes": "string"
}
Responses
application/json
Batch created successfully
{
"success": true,
"message": "string",
"data": {
"id": 0,
"code": "BTH-007",
"branch": {},
"supplier": {},
"shipment_type": {
"value": "chilled",
"label": "Chilled"
},
"food_name": "string",
"food_category": "string",
"status": {},
"inspector": {},
"created_at": "2019-08-24T14:15:22.123Z"
}
}
Modified at 2026-02-23 18:27:16