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
Discount Redemption → Get
AI-generatedSummary
Retrieves a single Lemon Squeezy discount redemption by its ID, returning either a flattened record or the raw JSON:API object.
Inputs
- Discount Redemption ID (required) — The ID of the discount redemption to fetch.
- Simplify — Defaults to true. Flattens JSON:API attributes to the top level, alongside id and type. Disable it to get the raw JSON:API format with type, attributes and relationships.
- Retry Options — Collection holding Max Retries (default 3, range 0–10, 0 disables retries) and Initial Delay in ms (default 1000, range 100–30000, doubles on each retry). These control retries of failed API requests.
Output shape
A single discount redemption record. With Simplify on, it is a flat object with id, type and the attribute fields. With Simplify off, it is the raw JSON:API resource.
The source pack does not show the Get handler body, so the exact endpoint and any extra fields are not confirmed here. The shared API helper retries rate-limit (429) and 5xx/network errors, and raises a NodeApiError if the request still fails, for example when the ID is not found.
Examples
Example 1: Look up a redemption referenced in an order or webhook event to see which discount was used.
Resource: Discount Redemption; Operation: Get; Discount Redemption ID set by expression, e.g. {{ $json.id }}; Simplify on.
Example 2: Fetch the raw JSON:API payload, including relationships, for custom processing.
Discount Redemption ID: a fixed ID; Simplify off.
Example 3: Make the call more resilient against rate limits.
Retry Options: Max Retries 5, Initial Delay 2000 ms.