# 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.

- **Category:** ecommerce
- **Auth:** API_KEY
- **Composio Managed App Available?** N/A
- **Tools:** 32
- **Triggers:** 0
- **Slug:** `LEMON_SQUEEZY`
- **Version:** 20260316_00

## Tools

### Create Customer

**Slug:** `LEMON_SQUEEZY_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."

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | object | Yes | The customer resource data object. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Create Discount

**Slug:** `LEMON_SQUEEZY_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."

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | object | Yes | The discount resource data object. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Create Webhook

**Slug:** `LEMON_SQUEEZY_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.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | object | Yes | Main data object for webhook creation. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Delete Discount

**Slug:** `LEMON_SQUEEZY_DELETE_DISCOUNT`

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

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes | The ID of the discount to delete |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Delete Webhook

**Slug:** `LEMON_SQUEEZY_DELETE_WEBHOOK`

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

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes | The ID of the webhook to delete. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List All Affiliates

**Slug:** `LEMON_SQUEEZY_LIST_ALL_AFFILIATES`

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

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `sort` | string ("createdAt" | "-createdAt") | No | Sort order: 'createdAt' ascending or '-createdAt' descending. |
| `store_id` | integer | No | Filter affiliates by the ID of the store they belong to. |
| `page_size` | integer | No | Number of affiliates per page (1-100). |
| `user_email` | string | No | Filter affiliates by user email. |
| `page_number` | integer | No | Page number for pagination, starting at 1. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List All Checkouts

**Slug:** `LEMON_SQUEEZY_LIST_ALL_CHECKOUTS`

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

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `store_id` | integer | No | Only return checkouts belonging to the store with this ID. |
| `variant_id` | integer | No | Only return checkouts belonging to the variant with this ID. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List All Customers

**Slug:** `LEMON_SQUEEZY_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).

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `email` | string | No | Filter customers by email address. |
| `store_id` | integer | No | Filter customers by the ID of the store to which they belong. |
| `page_size` | integer | No | Number of customers per page (1-100). |
| `page_number` | integer | No | Page number for pagination (starting at 1). |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List All Discount Redemptions

**Slug:** `LEMON_SQUEEZY_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.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `order_id` | integer | No | Return discount redemptions that belong to the order with this ID. |
| `page_size` | integer | No | Number of items per page (1-100) |
| `discount_id` | integer | No | Return discount redemptions that belong to the discount with this ID. |
| `page_number` | integer | No | Page number for pagination (starting at 1) |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List All Discounts

**Slug:** `LEMON_SQUEEZY_LIST_ALL_DISCOUNTS`

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

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `store_id` | integer | No | Filter discounts by store ID. Only return discounts belonging to the specified store. |
| `page_size` | integer | No | Number of discounts per page (1-100) |
| `page_number` | integer | No | Page number for pagination (starting at 1) |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List All Files

**Slug:** `LEMON_SQUEEZY_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.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `include` | string | No | Comma-separated list of related resources to include (e.g., 'variant'). |
| `page_size` | integer | No | Number of items per page (1-100). |
| `variant_id` | integer | No | Filter files by variant ID. Only returns files associated with the specified variant. |
| `page_number` | integer | No | Page number to retrieve (starting at 1). |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List All License Key Instances

**Slug:** `LEMON_SQUEEZY_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.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `page_size` | integer | No | Number of instances per page (1-100). |
| `page_number` | integer | No | Page number for pagination (starting at 1). |
| `license_key_id` | integer | No | Filter instances by the ID of the license key they belong to. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List All License Keys

**Slug:** `LEMON_SQUEEZY_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.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `include` | string | No | Comma-separated list of related resources to include (e.g., 'store,customer,order'). |
| `order_id` | integer | No | Filter license keys by order ID. |
| `store_id` | integer | No | Filter license keys by store ID. |
| `page_size` | integer | No | Number of license keys per page (1-100). |
| `product_id` | integer | No | Filter license keys by product ID. |
| `page_number` | integer | No | Page number for pagination (starting at 1). |
| `order_item_id` | integer | No | Filter license keys by order item ID. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List All Order Items

**Slug:** `LEMON_SQUEEZY_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.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `page_size` | integer | No | Number of order items per page (1-100) |
| `page_number` | integer | No | Page number for pagination (starting at 1) |
| `filter_order_id` | string | No | Filter order items by order ID |
| `filter_product_id` | string | No | Filter order items by product ID |
| `filter_variant_id` | string | No | Filter order items by variant ID |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List All Orders

**Slug:** `LEMON_SQUEEZY_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.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `store_id` | integer | No | Return only orders belonging to the store with this ID. Omitting this in multi-store setups returns orders across all stores, which can corrupt aggregations. |
| `page_size` | integer | No | Number of orders per page (1-100) |
| `user_email` | string | No | Return only orders where the `user_email` field matches this email address. |
| `page_number` | integer | No | Page number for pagination (starting at 1) Check `meta.page` in the response to determine whether additional pages exist. |
| `order_number` | integer | No | Return only the order with this specific order number. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List All Prices

**Slug:** `LEMON_SQUEEZY_LIST_ALL_PRICES`

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

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `page_size` | integer | No | Number of prices per page (1-100) |
| `variant_id` | integer | No | Return only prices associated with the variant with this ID. |
| `page_number` | integer | No | Page number for pagination (starting at 1) |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List All Products

**Slug:** `LEMON_SQUEEZY_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.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `store_id` | integer | No | Filter products by store ID (optional) |
| `page_size` | integer | No | Number of products per page (1-100, default: 10) |
| `page_number` | integer | No | Page number to retrieve (default: 1) |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List All Stores

**Slug:** `LEMON_SQUEEZY_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.

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List All Subscription Invoices

**Slug:** `LEMON_SQUEEZY_LIST_ALL_SUBSCRIPTION_INVOICES`

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

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `status` | string | No | Filter invoices by status |
| `refunded` | boolean | No | Filter invoices by refunded state (true/false) |
| `store_id` | integer | No | Filter invoices by store ID |
| `page_size` | integer | No | Number of items per page (1-100) |
| `page_number` | integer | No | Page number for pagination (starting at 1) |
| `subscription_id` | integer | No | Filter invoices by subscription ID |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List All Subscription Items

**Slug:** `LEMON_SQUEEZY_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.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `price_id` | integer | No | Filter subscription items by the ID of the price. |
| `page_size` | integer | No | Number of items per page (1-100) |
| `page_number` | integer | No | Page number for pagination (starting at 1) |
| `subscription_id` | integer | No | Filter subscription items by the ID of the subscription they belong to. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List All Subscriptions

**Slug:** `LEMON_SQUEEZY_LIST_ALL_SUBSCRIPTIONS`

Tool to list all subscriptions. Use when you need a paginated list of subscriptions, optionally filtered by store, order, product, or status.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `status` | string | No | Return only subscriptions with this status (e.g., 'active', 'cancelled'). |
| `order_id` | integer | No | Return only subscriptions belonging to the order with this ID. |
| `store_id` | integer | No | Return only subscriptions belonging to the store with this ID. |
| `page_size` | integer | No | Number of subscriptions per page (1-100). |
| `product_id` | integer | No | Return only subscriptions belonging to the product with this ID. |
| `user_email` | string | No | Return only subscriptions where the user_email matches this address. |
| `variant_id` | integer | No | Return only subscriptions belonging to the variant with this ID. |
| `page_number` | integer | No | Page number for pagination (starting at 1). |
| `order_item_id` | integer | No | Return only subscriptions belonging to the order item with this ID. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List All Usage Records

**Slug:** `LEMON_SQUEEZY_LIST_ALL_USAGE_RECORDS`

Retrieves all usage records from Lemon Squeezy, with optional filtering and pagination. Usage records track consumption for usage-based billing on subscription items. Each record represents reported usage with a quantity and action type (increment or set). Records are returned in descending order by creation date (newest first). Use this when you need to: - View all usage records across subscription items - Filter usage records for a specific subscription item - Paginate through large sets of usage records Note: Returns an empty list if no usage records exist or the filter matches nothing.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `page_size` | integer | No | Number of usage records to return per page. Must be between 1 and 100. Default is 10 if not specified. |
| `page_number` | integer | No | The page number to retrieve, starting from 1. Default is 1 if not specified. |
| `subscription_item_id` | integer | No | Filter to only show usage records belonging to this subscription item ID. Omit to retrieve usage records from all subscription items. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List All Variants

**Slug:** `LEMON_SQUEEZY_LIST_ALL_VARIANTS`

Retrieves a paginated list of product variants from Lemon Squeezy. A variant represents a variation of a product with its own pricing options, files, and license key settings. You can filter by product ID and status (pending/draft/published), and control pagination with page number and size.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `status` | string ("pending" | "draft" | "published") | No | Return only variants with the given status. One of 'pending', 'draft', or 'published'. |
| `page_size` | integer | No | Number of items per page (1-100). |
| `product_id` | integer | No | Return only variants associated with this product ID. |
| `page_number` | integer | No | Page number to return (starting at 1). |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List All Webhooks

**Slug:** `LEMON_SQUEEZY_LIST_ALL_WEBHOOKS`

Tool to list all webhooks. Use when you need to retrieve registered webhooks. Supports optional filtering by store ID and pagination parameters for controlling result size and navigation.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `store_id` | integer | No | Only return webhooks belonging to the store with this ID. |
| `page_size` | integer | No | Number of webhooks per page (1-100). |
| `page_number` | integer | No | Page number to retrieve (starting from 1). |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Retrieve Authenticated User

**Slug:** `LEMON_SQUEEZY_RETRIEVE_AUTHENTICATED_USER`

Tool to retrieve the currently authenticated user from Lemon Squeezy. Use when you need to get details about the user associated with the current API key, including their name, email, avatar, and account timestamps.

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Retrieve Customer

**Slug:** `LEMON_SQUEEZY_RETRIEVE_CUSTOMER`

Tool to retrieve a specific customer by their ID. Use when you need detailed information about a single customer including their email, name, location, revenue metrics, and relationships to orders and subscriptions.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes | The ID of the customer to retrieve. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Retrieve Discount

**Slug:** `LEMON_SQUEEZY_RETRIEVE_DISCOUNT`

Tool to retrieve a single discount by ID. Use when you need details about a specific discount.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes | The ID of the discount to retrieve |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Retrieve Store

**Slug:** `LEMON_SQUEEZY_RETRIEVE_STORE`

Tool to retrieve a store by its ID. Use when you need to get detailed information about a specific store. Returns comprehensive store data including financial metrics, configuration, and related resource links.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes | The ID of the store to retrieve |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Retrieve Webhook

**Slug:** `LEMON_SQUEEZY_RETRIEVE_WEBHOOK`

Tool to retrieve a webhook by its ID. Use when you need to get details of a specific webhook configuration.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes | The unique identifier of the webhook to retrieve. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Update Customer

**Slug:** `LEMON_SQUEEZY_UPDATE_CUSTOMER`

Tool to update an existing customer with the given ID. Use when you need to modify customer details like name, email, or address information. At least one attribute field must be provided to update.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes | The ID of the customer to update |
| `city` | string | No | The city of the customer |
| `name` | string | No | The full name of the customer |
| `email` | string | No | The email of the customer |
| `region` | string | No | The region/state of the customer |
| `country` | string | No | ISO 3166-1 alpha-2 country code (e.g., 'US', 'GB', 'DE') |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Update Webhook

**Slug:** `LEMON_SQUEEZY_UPDATE_WEBHOOK`

Tool to update an existing webhook. Use when you need to modify the URL, events, or secret for a registered webhook.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | object | Yes | Data wrapper for the webhook update request. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Validate License

**Slug:** `LEMON_SQUEEZY_VALIDATE_LICENSE`

Tool to validate a license key and optionally a specific license key instance. Use when you need to check if a license key is valid and active.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `instance_id` | string | No | Optionally validate a specific license key instance. If provided, validates the instance; if omitted, validates the license key and returns 'instance': null in response. |
| `license_key` | string | Yes | The license key to validate |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |
