ls_list_affiliates
Retrieve affiliates for all your Lemon Squeezy stores. Filter by user email and control pagination for efficient management.
Instructions
List all affiliates for the authenticated user's stores, optionally filtered by user email. Results are paginated — check meta.page in the response for currentPage, lastPage, and total. Cross-store note: LEMONSQUEEZY_ALLOWED_STORE_IDS does NOT gate this tool -- it has no storeId field and no parent ID filter to scope by, so it returns affiliates tied to every store the API key can see, including non-allowed ones. Pair with a scoped LemonSqueezy API key for true cross-store enforcement -- the API key's visibility is the true boundary.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| include | No | Comma-separated related resources to include (e.g. 'store,user') | |
| pageSize | No | Results per page (1-100) | |
| userEmail | No | Filter by affiliate's user email | |
| pageNumber | No | Page number (1-indexed) |