# POST /api/v1/inventory/counts/{count_id}/post

> Post a cycle count

- **Tag:** inventory:counts
- **Operation ID:** `post_count_api_v1_inventory_counts__count_id__post_post`

## Description

Finalize the count, emitting one manual inventory adjustment per non-zero variance line.

## Authentication

Bearer token in `Authorization` header.
Required header: `x-business-id: <business uuid>`.

## Parameters

- `count_id` (path, string, required)

## Responses

### 201 — Successful Response

### 401 — Unauthorized - Authentication required

### 403 — Forbidden - Insufficient permissions

### 404 — Not Found - Resource does not exist

### 409 — Conflict - Resource already exists

### 422 — Validation Error - Invalid data format

## Code samples

### cURL

```bash
curl -X POST 'https://api.ondayzero.com/api/v1/inventory/counts/{count_id}/post' \
  -H 'Authorization: Bearer dz_your_token' \
  -H 'x-business-id: YOUR_BUSINESS_ID' \
  -H 'Content-Type: application/json' \
  -d ''
```

### JavaScript

```javascript
const response = await fetch('https://api.ondayzero.com/api/v1/inventory/counts/{count_id}/post', {
  method: 'POST',
  headers: {
    Authorization: 'Bearer dz_your_token',
    'x-business-id': 'YOUR_BUSINESS_ID',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({}),
});
const data = await response.json();
```

### Python

```python
import httpx

headers = {
    "Authorization": "Bearer dz_your_token",
    "x-business-id": "YOUR_BUSINESS_ID",
}

payload = {}

response = httpx.post("https://api.ondayzero.com/api/v1/inventory/counts/{count_id}/post", headers=headers, json=payload)
data = response.json()
```

## See also

- HTML version: https://www.ondayzero.com/docs/reference/inventory-counts/post-count
- OpenAPI slice: https://www.ondayzero.com/docs/reference/inventory-counts/post-count/openapi.json
- Other endpoints in **inventory:counts**: https://www.ondayzero.com/docs/reference/inventory-counts
