List shifts
loyverse_list_shiftList POS shifts from Loyverse with pagination. Returns shift details including opened/closed times, starting cash, payments, expected vs actual cash, and cash movements.
Instructions
List shifts from Loyverse (GET /shifts). Supports cursor pagination. POS cash register shifts (corte de caja): opened_at/closed_at, starting_cash, cash_payments, expected_cash vs actual_cash, gross/net sales, cash_movements. Not in the official docs registry but verified live (200 on both list and get). Field names follow the Loyverse API v1.0 (developer.loyverse.com/docs). If a call fails with a 400, the error message from Loyverse is returned verbatim — adjust the fields and retry.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Items per page, Loyverse default 25, max 250. | |
| query | No | Extra query string filters supported by this endpoint (e.g. store_id, updated_at_min, created_at_max). | |
| cursor | No | Pagination cursor from a previous response. | |
| fetch_all | No | If true, follows pagination automatically and returns every page combined (capped at 20 pages for safety). If false/omitted, returns a single page. |