FoodGuard Mobile API
  1. Inspection
FoodGuard Mobile API
  • Authentication
    • User Login
      POST
    • User Logout
      POST
  • Lookups
    • Get All Branches
      GET
    • Get All Suppliers
      GET
  • Inspection
    • Lookup Batch by QR/Barcode
      GET
    • Initialize Inspection Batch
      POST
    • Upload Sample Image for AI Analysis
      POST
    • Finalize Batch Inspection
      POST
  • History
    • Get Inspection History
      GET
  • Inspector Dashboard
    • Get Home Screen Stats
      GET
  • Schemas
    • User
    • Branch
    • Supplier
    • BatchInitResponse
    • AISampleResult
    • ErrorResponse
    • ValidationErrorResponse
  1. Inspection

Finalize Batch Inspection

Pending
POST
/batches/{batch_id}/finalize

Request

Authorization
JWT Bearer
Add the parameter
Authorization
to Headers
Example:
Authorization: ********************
or
Path Params

Body Params application/json

Example
{
    "notes": "All good, minor packing issue.",
    "manual_status": "passed"
}

Responses

🟢200
application/json
Inspection Finalized
Body

Example
{
    "success": true,
    "data": {
        "batch_id": "BTH-2025-0012",
        "final_score": 88.5,
        "final_status": "passed"
    }
}
Modified at 2025-12-18 11:12:15
Previous
Upload Sample Image for AI Analysis
Next
Get Inspection History
Built with