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
AI-generatedSummary
Fetches a Lemon Squeezy variant by its ID. Choose whether to return simplified attributes or the raw JSON:API response, and optionally configure retries for failed requests.
Inputs
- Variant ID (required) — The ID of the variant to retrieve.
- Simplify — Defaults to true. When enabled, flattens JSON:API attributes to the top level; disable it to keep the raw JSON:API format.
- Retry Options — Configure retries for failed API requests. Max Retries defaults to 3 (0–10); Initial Delay defaults to 1000 ms (100–30000 ms) and doubles with each retry.
Output shape
A single variant record.
The response is simplified by default; with Simplify disabled, it retains the raw JSON:API format. API errors may be returned if the request fails after retries.