List stock in transit between stores
Returns one PAGE of the goods that have LEFT a store on a transfer and have not yet been received by the destination — the third stock compartment, beside a shop’s on-hand and its reserved figure. These units are in NO store’s on_hand, which is why they need their own read: without it the network total silently under-reports for the whole transit window, and a buyer can be prompted to order stock that is already on a truck.
IT IS NOT SELLABLE. In-transit stock is promisable for a later date and must never be counted as available today — crediting it to the destination would show stock in a shop that cannot physically hand it over. Use it to CORRECT a network rollup (totalInTransit, kept out of totalAvailable) and to discount replenishment orders, never to answer ‘can this store sell it now’.
Oldest shipment first, so anything overdue leads the page. stale=true narrows to shipments past the 7-day threshold — a shipment that never arrives is FLAGGED here, never purged: the compartment’s only exit is the receipt, and receiving a dead shipment at zero books the whole loss as a transfer discrepancy.
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 <= 100Only goods heading FOR this store (what replenishment discounts).
1Only goods that LEFT this store.
1Only this sellable unit.
1Only this transfer's positions.
1true returns only shipments past the staleness threshold.
true, false Response
One page of the positions currently in transit (oldest shipment first).
One page of the positions currently in transit (oldest shipment first).
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
