Actions84
- Affiliate Actions
- Checkout Actions
- Customer Actions
- Discount Actions
- Discount Redemption Actions
- File Actions
- License Key Actions
- License Key Instance Actions
- Order Actions
- Order Item Actions
- Price Actions
- Product Actions
- Store Actions
- Subscription Actions
- Subscription Invoice Actions
- Subscription Item Actions
- Usage Record Actions
- User Actions
- Variant Actions
- Webhook Actions
Variant → Get Many
AI-generatedSummary
Retrieve multiple product variants from the Lemon Squeezy API with optional filtering, sorting, pagination, and inclusion of related resources.
Inputs
- Return All — Boolean flag to determine whether to fetch all variant results or limit the number of returned items.
- Limit — Maximum number of variant results to return when Return All is false. Accepts values from 1 to 100.
- Filters — Optional filters to refine results by Product ID or Variant Status (pending, draft, published).
- Advanced Options — Additional options including sorting by creation or update date with ascending or descending order, setting a pagination timeout in seconds, and specifying related resources (Product, Files) to include in the response.
- Simplify — When true, flattens the JSON:API response attributes to top-level keys for easier consumption; when false, returns raw JSON:API format including type, attributes, and relationships.
- Retry Options — Configuration for retry behavior on failed API requests, including the maximum number of retries and initial delay between retries.
Output shape
a list of variant records
The output is an array of variant objects fetched from Lemon Squeezy, optionally filtered and sorted as specified. If simplification is enabled (default true), objects have their attributes flattened for easier access. Pagination is handled internally when Return All is enabled, respecting the specified pagination timeout. Errors during API requests honor retry configuration and surface as workflow errors if retries are exhausted.