# POST /inventory/stocktakes/:stocktake_id/counts

**Resource:** [INVENTORY](./inventory.md)  
**MCP tool:** `record_stocktake_counts`  
**Scopes:** `products:write`  
**Write operation:** yes

Save counts on an open stocktake. Nothing changes in stock until complete_stocktake, so a count can be saved half done and finished later.

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `stocktake_id` | path | string | yes | The stocktake (its UUID). |
| `counts` | body | array | yes | Counts to save. Can be sent in several goes: lines not sent keep what they had. Nothing changes in stock until complete_stocktake. |
| `require_approval` | body | boolean | no | Optional. Set true to route this write into the approval queue for human review instead of executing it immediately (returns 202 + an approval_id). Works even when your key/token has permission to execute directly. |

## Request example

```bash
curl -X POST   "https://api.trustpager.com/functions/v1/api/v1/inventory/stocktakes/:stocktake_id/counts"   -H "Authorization: Bearer YOUR_API_KEY"   -H "Content-Type: application/json"   -d '{"counts":"...","require_approval":"..."}'
```

---
Base URL: `https://api.trustpager.com/functions/v1/api/v1` — Auth: `Authorization: Bearer YOUR_API_KEY`