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
Store → Get Analytics
AI-generatedSummary
Retrieve analytics data for a specified Lemon Squeezy store, with optional output simplification and configurable retry behavior for API requests.
Inputs
- analyticsStoreId (required) — The ID of the store to analyze, selectable from a list or via an expression.
- simplifyOutput — Boolean flag to simplify the JSON:API response by flattening attributes to the top level. Defaults to true.
- retryOptions — Settings to configure retry behavior on failed API requests, including maximum retries and initial retry delay in milliseconds.
Output shape
a single JSON object representing the store analytics data
The output may be returned in either raw JSON:API format or simplified with attributes flattened, depending on the 'simplifyOutput' option. The operation fetches data directly from the Lemon Squeezy API with automatic retries based on the configured retry options. No pagination applies as analytics is a single resource fetch.
Examples
Example 1: Fetch analytics summary for a selected store with simplified output
Set 'analyticsStoreId' to the target store; ensure 'simplifyOutput' is true (default). Configure retry options as needed.