PUT /inventory/count-session/
Update Counting Session
PUT
/inventory/count-session/{session_key}
Update a counting session's metadata.
Applies the provided partial update to the InventoryCountSession document.
Fields such as code, type, blind_quantities, blind_serials, and
scheduled_start may only be changed while the session is in planned
status; attempts to update them after start return 422.
Emits: (direct transaction — no event class)
Required scope: inventory:count:update
Authorizations
OAuth2PasswordBearer
password Flow
Token URL
"/api/auth"Scopes:
"admin"User can access and edit users and system settings"library"User can access and edit products"production"User can access and edit production plans"operator"User can access the operator panel and make production declarations
Parameters
Path Parameters
session_key*
Type
Requiredstring
Request Body
application/json
JSON "code": "CNT-2026-002", "description": "Updated scope: zones A and B only", "type": "position", "blind_quantities": false, "blind_serials": false, "scheduled_start": "2026-05-21T08:00:00Z", "scheduled_end": "2026-05-21T18:00:00Z", "notes": "Prioritise zone A"
{
}
Responses
Successful Response
application/json
JSON "status": 200, "message": "string", "detail": "string"
{
}