List purchase orders (commandes fournisseur)
Returns one page of purchase orders (commandes fournisseur / bons de commande), optionally filtered by status (open/received), supplierId and/or shopId, sorted by id or lineCount. Use page/pageSize (max 100) to walk the result; total/pageCount tell you when to stop.
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 number (default 1).
0 < x <= 9007199254740991Rows per page, max 100 (default 20).
0 < x <= 100Filter by status: open (partiellement ou non reçue) or received (soldée).
open, received Filter to orders placed with one supplier (fournisseur).
1Filter to orders for one store (magasin).
1Sort key: order id or number of lines (default id).
id, lineCount Sort direction (default asc).
asc, desc Response
A page of purchase orders with the pagination totals.
A page of purchase orders with the pagination totals.
This page's purchase orders.
Total orders matching the filter, across all pages.
-9007199254740991 <= x <= 9007199254740991This page's 1-based number.
-9007199254740991 <= x <= 9007199254740991Rows requested per page.
-9007199254740991 <= x <= 9007199254740991Total number of pages.
-9007199254740991 <= x <= 9007199254740991
