Lemon Squeezy icon

Lemon Squeezy

Interact with Lemon Squeezy API

Customer → Update

AI-generated

Summary

Updates an existing Lemon Squeezy customer by ID, changing only the fields you supply (name, email, city, region, country, or status) and returning the updated customer record.

Inputs

  • Customer ID (required) — Numeric string ID of the customer to update.
  • Update Fields — Collection of fields to change: Name, Email, City, Country (ISO 3166-1 alpha-2 code), Region, and Status (subscribed, unsubscribed, archived, requires_verification, invalid_email, bounced). Email is validated before the API call.
  • Simplify — Default true. Flattens the JSON:API response so attributes appear at the top level. Turn off to get the raw type/attributes/relationships structure.
  • Retry Options — Max Retries (default 3, range 0–10) and Initial Delay in ms (default 1000, doubles on each retry) for failed API requests.

Output shape

A single customer record per input item, reflecting the updated values returned by the Lemon Squeezy API.

With Simplify on, the output has id, type, and all attributes at the top level. With Simplify off, the output is the raw JSON:API object. The source pack doesn't show the exact request construction for the update, so the details here come from the declared properties and the shared handler's email validation.

Examples

Example 1: Correct a customer's email address and city after they contact support.

Customer ID = {{$json.customerId}}; Update Fields: Email = new address, City = new city; Simplify on.

Example 2: Unsubscribe a customer from marketing.

Customer ID = 12345; Update Fields: Status = Unsubscribed.

Links

Discussion