A valid request URL is required to generate request examples{
"items": [
{
"id": "count-2026-07-28-001",
"shopId": "store-rivoli",
"status": "open",
"lineCount": 1,
"countedLineCount": 0
}
],
"total": 1,
"page": 1,
"pageSize": 20,
"pageCount": 1
}{
"error": {
"code": "VALIDATION_FAILED",
"message": "<string>",
"statusCode": 123,
"fieldErrors": [
{
"field": "<string>",
"message": "<string>"
}
]
}
}{
"error": {
"code": "VALIDATION_FAILED",
"message": "<string>",
"statusCode": 123
}
}{
"error": {
"code": "VALIDATION_FAILED",
"message": "<string>",
"statusCode": 123
}
}{
"error": {
"code": "VALIDATION_FAILED",
"message": "<string>",
"statusCode": 123
}
}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.
A valid request URL is required to generate request examples{
"items": [
{
"id": "count-2026-07-28-001",
"shopId": "store-rivoli",
"status": "open",
"lineCount": 1,
"countedLineCount": 0
}
],
"total": 1,
"page": 1,
"pageSize": 20,
"pageCount": 1
}{
"error": {
"code": "VALIDATION_FAILED",
"message": "<string>",
"statusCode": 123,
"fieldErrors": [
{
"field": "<string>",
"message": "<string>"
}
]
}
}{
"error": {
"code": "VALIDATION_FAILED",
"message": "<string>",
"statusCode": 123
}
}{
"error": {
"code": "VALIDATION_FAILED",
"message": "<string>",
"statusCode": 123
}
}{
"error": {
"code": "VALIDATION_FAILED",
"message": "<string>",
"statusCode": 123
}
}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) the session counts.
1DEPRECATED — use storeId instead; removed on 2026-11-01. Filter to one store (magasin) the session counts. Sending both is allowed only when they name the SAME store.
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.
Show child attributes
Show child attributes
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
