Lemon Squeezy icon

Lemon Squeezy

Interact with Lemon Squeezy API

Product → Get

AI-generated

Summary

Fetches one Lemon Squeezy product by its product ID and returns the API response, optionally simplifying its JSON:API structure.

Inputs

  • Product ID (required) — The ID of the product to retrieve.
  • Simplify — Defaults to true. When enabled, flattens JSON:API attributes to the top level; disable it to retain the raw JSON:API format.
  • Retry Options — Configures retries for failed requests. Max Retries defaults to 3 (0–10); Initial Delay defaults to 1000 ms (100–30000 ms) and doubles on each retry.

Output shape

A single product record.

The record is simplified by default; disabling Simplify returns the raw JSON:API format. API failures are reported as errors.

Examples

Example 1: Retrieve a product

Set Product ID to the product's ID; optionally adjust Simplify or Retry Options.

Links

Discussion