List count sessions (comptages / inventaires physiques)
Returns one page of count-session summaries (comptages): each carries the session id, its store (magasin), the lifecycle status (open while counting, closed once adjusted) and the counted-progress totals (lineCount / countedLineCount). Optionally filter by status and/or shopId. Use page/pageSize (max 100) to walk the result; total/pageCount tell you when to stop. Read this to find the open comptage a count desk should resume, then GET it by id for its lines.
Authorizations
Authorization: Bearer <token>. Accepts EITHER a Keycloak access token (scopes-in-token) OR an opaque POS session token; both resolve to the same pos.* scope vocabulary the route guards enforce.
Query Parameters
1-based page index to return. Defaults to 1.
1 <= x <= 9007199254740991Rows per page, 1..100. Defaults to 20.
1 <= x <= 100Filter by lifecycle status: open (counting) or closed (adjusted).
open, closed Filter to one store (magasin) — matches the session's shopId.
1Response
A page of count-session summaries with the pagination totals.
A page of count-session summaries with the pagination totals.
The rows on this page, in the query's sort order.
Total rows matching the filter across ALL pages, not just this one.
0 <= x <= 9007199254740991The 1-based page number served.
0 < x <= 9007199254740991Rows requested per page.
0 < x <= 9007199254740991Total number of pages; stop walking when page reaches it.
0 <= x <= 9007199254740991
