Commerce & Payments

Lemon Squeezy

Lemon Squeezy is a platform designed to simplify payments, taxes, and subscriptions for software companies, offering a powerful API and webhooks for seamless integration.

Tools

This is a reference catalogue. Tools cannot be configured or run from this page.

  • Create Customer

    Tool to create a new customer. Use after verifying the store exists and you need to add a customer to it. Example: "Create a customer John Doe with email johndoe@example.com in store 1."

  • Create Discount

    Tool to create a new discount code in Lemon Squeezy. Use when you need to create promotional discounts for products or subscriptions. Example: "Create a discount code SUMMER20 with 20% off in store 123."

  • Create Webhook

    Tool to create a new webhook for receiving event notifications. Use when you need to register a webhook endpoint to receive events like order_created, subscription_created, etc. Specify the webhook URL, signing secret, and event types to subscribe to.

  • Delete Discount

    Tool to delete a discount by its ID. Use when you need to permanently remove a discount from a store.

  • Delete Webhook

    Tool to delete a webhook. Use when you need to remove a registered webhook endpoint.

  • List All Affiliates

    Tool to list all affiliates. Use when you need to retrieve affiliates with optional filters and pagination.

  • List All Checkouts

    Retrieves a page of checkouts, optionally filtered by store or variant. The response includes pagination metadata.

  • List All Customers

    Retrieves a paginated list of all customers from your Lemon Squeezy store(s). Returns customer details including email, name, location, revenue metrics (MRR, total revenue), marketing status, and relationships to orders, subscriptions, and license keys. Use this action to: - Get all customers across stores or filter by specific store_id - Find a customer by email address - List customers with pagination support (default 10 per page, max 100) - Access customer portal URLs and relationship links All parameters are optional. Without filters, returns all customers ordered by creation date (newest first).

  • List All Discount Redemptions

    Tool to list all discount redemptions. Use when you need a paginated list of discount redemptions, optionally filtering by discount or order.

  • List All Discounts

    Tool to list all discounts. Use when you need a paginated list of discounts after confirming authentication.

  • List All Files

    Retrieves a paginated list of files from Lemon Squeezy. Use this to get digital goods that can be downloaded by customers after purchase. Each file belongs to a variant and includes download URLs (signed, expiring after 1 hour, rate-limited to 10 downloads/day/IP). Filter by variant ID or control pagination with page number and size.

  • List All License Key Instances

    Tool to list all license key instances. Use when you need a paginated list of license key instances, optionally filtering by license key ID.

  • List All License Keys

    Tool to list all license keys. Use when you need a paginated list of license keys, optionally filtering by store, order, order item, or product.

  • List All Order Items

    Tool to list all order items. Use when you need a paginated list of order items, optionally filtered by order, product, or variant. Note: the `first_order_item` field on an order object returns only one item; use `filter_order_id` here to retrieve all line items for multi-item orders.

  • List All Orders

    Tool to list all orders. Use when you need a paginated list of orders, optionally filtering by store or user email. Monetary fields (e.g., `subtotal`, `tax`, `total`) are integers in the smallest currency unit (e.g., cents); use `*_formatted` variants for display only, not calculations.

  • List All Prices

    Tool to list all prices. Use when you need a paginated list of all prices, optionally filtering by variant.

  • List All Products

    List all products from your Lemon Squeezy store with pagination and filtering. Returns a paginated list of products ordered by name. Each product includes pricing, status, thumbnails, checkout URLs, and metadata. Useful for browsing your product catalog, checking product details, or filtering by store.

  • List All Stores

    Retrieves a paginated list of all stores belonging to the authenticated Lemon Squeezy account. This action returns comprehensive store information including store details (name, slug, domain, URL), financial metrics (total sales/revenue, 30-day sales/revenue), configuration (plan, country, currency), and relationship links to associated resources (products, orders, subscriptions, discounts, license keys, webhooks, and affiliates). Returns stores ordered by name in ascending order with pagination metadata. No input parameters required. Use this as a starting point to discover available stores before working with other store-specific resources.

  • List All Subscription Invoices

    Tool to list all subscription invoices. Use when you need a paginated list of subscription invoices with optional filters.

  • List All Subscription Items

    Tool to list all subscription items. Use when you need a paginated list of items across subscriptions for reporting or auditing.

Page 1 / 2Next