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
Customer → Get
AI-generatedSummary
Retrieves a single Lemon Squeezy customer by ID and returns it, either flattened or as raw JSON:API.
Inputs
- customerId (required) — Numeric string ID of the customer to fetch (e.g. 12345).
- simplifyOutput — Defaults to true. Flattens JSON:API attributes to the top level alongside id and type. Disable to get the raw structure with type, attributes and relationships.
- retryOptions — Collection to tune retries of failed API requests. Max Retries defaults to 3 (0 to 10, 0 disables). Initial Delay (Ms) defaults to 1000 (100 to 30000) and doubles on each retry.
Output shape
A single customer record. When simplified, it is a flat object with id, type and the customer attributes. Otherwise it is the JSON:API resource object.
The source shown is a signature-level view, so the exact request and retry details were not visible. The shared API helper retries on rate limits (429) and on 5xx or network errors, and it raises a NodeApiError if the request still fails, for example when the customer is not found.
Examples
Example 1: Fetch a customer's details after an order webhook fires.
Customer ID set to an expression like {{ $json.customer_id }}, Simplify left on.
Example 2: Inspect raw JSON:API data including relationships.
Customer ID = 12345, Simplify off.
Example 3: Make the lookup resilient to flaky API responses.
Customer ID = 12345, Retry Options with Max Retries 5 and Initial Delay 2000 ms.