Updates OCR data for a batch. Use this to save user corrections after analyze-label.
Request
Add the parameter Authorization
to Headers Example:Authorization: ********************
or
Body Params application/jsonRequired
{
"expiry_date": "2026-03-15",
"production_date": "2026-01-01",
"supplier_batch_number": "SUP-2026-001"
}
Responses
application/json
OCR data updated successfully
{
"success": true,
"message": "string",
"data": {
"batch_id": 0,
"batch_code": "string",
"ocr_data": {
"expiry_date": "2019-08-24",
"production_date": "2019-08-24",
"supplier_batch_number": "string",
"ocr_confidence": 0
},
"updated_at": "2019-08-24T14:15:22.123Z"
}
}
Modified at 2026-02-23 18:27:16