# QA verification — submit final / good / rejected quantities (/docs/api-reference/production-orders/ProductionOrdersController_verifyOrder)

`POST /api/factories/{factoryId}/production-orders/{id}/verify`

Base URL: https://api.xentr.ai

Authentication: bearer token (`Authorization: Bearer <token>`).

## Parameters

| Name | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `factoryId` | path | yes | string | Factory ID |
| `id` | path | yes | string | Production Order ID |

## Request body

Required.

Content type: `application/json`

```json
{
  "type": "object",
  "properties": {
    "quantityFinal": {
      "type": "number",
      "description": "Total final quantity counted (good + rejected).",
      "example": 1000
    },
    "quantityGood": {
      "type": "number",
      "description": "Quantity that passed QA inspection.",
      "example": 988
    },
    "quantityRejected": {
      "type": "number",
      "description": "Quantity rejected during QA.",
      "example": 12
    },
    "notes": {
      "type": "string",
      "description": "Free-text notes from the inspector.",
      "example": "12 rejects due to OD oversize. See NCR-2026-0417-001."
    },
    "verifiedBy": {
      "type": "string",
      "description": "User id of the QA inspector who verified.",
      "example": "a1b2c3d4-1111-2222-3333-444455556666"
    }
  },
  "required": [
    "quantityFinal",
    "quantityGood",
    "quantityRejected"
  ]
}
```

## Responses

### 201