ls_list_orders
Retrieve paginated LemonSqueezy orders, filtered by store ID or user email, to inspect purchase history and page metadata.
Instructions
List all orders, optionally filtered by store or user email. Results are paginated — check meta.page in the response for currentPage, lastPage, and total.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "ls_list_orders"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| include | No | Comma-separated related resources to include (e.g. 'store,customer,order-items,subscriptions,license-keys,discount-redemptions,affiliate') | |
| storeId | No | Filter by store ID | |
| pageSize | No | Results per page (1-100) | |
| userEmail | No | Filter by user email | |
| pageNumber | No | Page number (1-indexed) |