Lemon Squeezy icon

Lemon Squeezy

Interact with Lemon Squeezy API

Discount Redemption → Get Many

AI-generated

Summary

Lists discount redemptions from Lemon Squeezy, optionally filtered by discount ID or order ID, returning either all results or up to a limit.

Inputs

  • Return All — When true, fetches every page of results. Default false.
  • Limit — Max number of results (1–100, default 50). Shown only when Return All is off.
  • Filters — Optional collection with Discount ID and Order ID; each is sent as a filter (filter[discount_id], filter[order_id]) on the API request.
  • Simplify — Default true. Flattens JSON:API attributes to the top level of each item. Disable to get raw type/attributes/relationships.
  • Retry Options — Max Retries (0–10, default 3) and Initial Delay in ms (100–30000, default 1000, doubles on each retry) for failed API requests.

Output shape

A list of discount redemption records, one n8n item per redemption.

Simplified by default (id, type, and attributes at the top level); raw JSON:API objects if Simplify is off. Retries apply to rate-limit and transient server or network errors.

Examples

Example 1: Check how many times a specific promo code was used.

Return All on; Filters > Discount ID set to the discount's ID; Simplify on.

Example 2: Find which discount was redeemed on a particular order.

Return All off, Limit 10; Filters > Order ID set to the order ID.

Links

Discussion