Lemon Squeezy icon

Lemon Squeezy

Interact with Lemon Squeezy API

Customer → Create

AI-generated

Summary

Creates a Lemon Squeezy customer in the selected store with the supplied name and email, optionally adding location details. Returns the created customer as simplified top-level JSON:API attributes by default, or in raw JSON:API format when simplification is disabled.

Inputs

  • Store (required) — Store the customer belongs to; choose a store or provide its ID with an expression.
  • Name (required) — Customer’s full name.
  • Email (required) — Customer’s email address.
  • Additional Fields — Optionally set the customer’s city, ISO 3166-1 alpha-2 country code, or region/state.
  • Simplify — Defaults to true. When enabled, flattens JSON:API attributes to the top level; when disabled, returns the raw JSON:API format.
  • Retry Options — Configure retries for failed API requests: maximum attempts (default 3, 0 disables retries) and initial delay in milliseconds (default 1000, doubles on each retry).

Output shape

A single created customer record.

The record is simplified by default; disable Simplify to receive the raw JSON:API representation. API failures are surfaced as errors.

Links

Discussion