ls_list_variants
List all variants for a product with pagination, filter by product ID, and optionally include related resources.
Instructions
List all variants, optionally filtered by product. Results are paginated — check meta.page in the response for currentPage, lastPage, and total. Cross-store note: when LEMONSQUEEZY_ALLOWED_STORE_IDS is set, this tool requires at least one of: productId. Even with that set, 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 |
|---|---|---|---|
| productId | No | Filter by product ID | |
| include | No | Comma-separated related resources to include (e.g. 'product,files') | |
| pageNumber | No | Page number (1-indexed) | |
| pageSize | No | Results per page (1-100) |