List categories
loyverse_list_categoryRetrieve product categories from Loyverse with cursor pagination. Supports optional filters and automatic fetching of all pages.
Instructions
List categories from Loyverse (GET /categories). Supports cursor pagination. 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. |