ls_list_variants
List product variants with optional product filter and pagination. Access variant details to manage pricing, subscriptions, and licenses.
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 |
|---|---|---|---|
| include | No | Comma-separated related resources to include (e.g. 'product,files') | |
| pageSize | No | Results per page (1-100) | |
| productId | No | Filter by product ID | |
| pageNumber | No | Page number (1-indexed) |