Lemon Squeezy · Capability

Lemon Squeezy API

Welcome to Lemon Squeezy! Whether you're launching a brand new store, a newsletter, or you're interested in using Lemon Squeezy as your ecommerce platform, you can find everything you need to know here.

Run with Naftiko LemonSqueezyAPI

What You Can Do

GET
Get v1 users me — Lemon Squeezy Retrieve the authenticated user
/v1/users/me
GET
Get v1 stores 1 — Lemon Squeezy Retrieve a store
/v1/stores/1
GET
Get v1 stores — Lemon Squeezy List all stores
/v1/stores
GET
Get v1 customers 1 — Lemon Squeezy Retrieve a customer
/v1/customers/1
GET
Get v1 customers — Lemon Squeezy List all customers
/v1/customers
GET
Get v1 products 1 — Lemon Squeezy Retrieve a product
/v1/products/1
GET
Get v1 products — Lemon Squeezy List all products
/v1/products
GET
Get v1 variants 1 — Lemon Squeezy Retrieve a variant
/v1/variants/1
GET
Get v1 variants — Lemon Squeezy List all variants
/v1/variants
GET
Get v1 prices 1 — Lemon Squeezy Retrieve a price
/v1/prices/1
GET
Get v1 prices — Lemon Squeezy List all prices
/v1/prices
GET
Get v1 files 1 — Lemon Squeezy Retrieve a file
/v1/files/1
GET
Get v1 files — Lemon Squeezy List all files
/v1/files
GET
Get v1 orders 1 — Lemon Squeezy Retrieve an order
/v1/orders/1
GET
Get v1 orders — Lemon Squeezy List all orders
/v1/orders
GET
Get v1 affiliates 1 — Lemon Squeezy Retrieve an affiliate
/v1/affiliates/1
GET
Get v1 affiliates — Lemon Squeezy List all affiliates
/v1/affiliates
GET
Get v1 order items 1 — Lemon Squeezy Retrieve an order item
/v1/order-items/1
GET
Get v1 order items — Lemon Squeezy List all order items
/v1/order-items
GET
Get v1 subscriptions 1 — Lemon Squeezy Retrieve a subscription
/v1/subscriptions/1
PATCH
Patch v1 subscriptions 1 — Lemon Squeezy Update a subscription
/v1/subscriptions/1
DELETE
Delete v1 subscriptions 1 — Lemon Squeezy Cancel a Subscription
/v1/subscriptions/1
GET
Get v1 subscriptions — Lemon Squeezy List all subscriptions
/v1/subscriptions
GET
Get v1 subscription items 1 — Lemon Squeezy Retrieve a subscription item
/v1/subscription-items/1
PATCH
Patch v1 subscription items 1 — Lemon Squeezy Update a subscription item
/v1/subscription-items/1
GET
Get v1 subscription items — Lemon Squeezy List all subscription items
/v1/subscription-items
GET
Get v1 subscription items 1 current usage — Lemon Squeezy Retrieve a subscription items current usage
/v1/subscription-items/1/current-usage
GET
Get v1 subscription invoices 1 — Lemon Squeezy Retrieve a subscription invoice
/v1/subscription-invoices/1
GET
Get v1 subscription invoices — Lemon Squeezy List all subscription invoices
/v1/subscription-invoices
GET
Get v1 usage records 1 — Lemon Squeezy Retrieve a usage-record
/v1/usage-records/1
GET
Get v1 usage records — Lemon Squeezy List all usage records
/v1/usage-records
POST
Post v1 usage records — Lemon Squeezy Create a usage record
/v1/usage-records
GET
Get v1 discounts 1 — Lemon Squeezy Retrieve a discount
/v1/discounts/1
DELETE
Delete v1 discounts 1 — Lemon Squeezy Delete a discount
/v1/discounts/1
GET
Get v1 discounts — Lemon Squeezy List all discounts
/v1/discounts
POST
Post v1 discounts — Lemon Squeezy Create a discount
/v1/discounts
GET
Get v1 discount redemptions 1 — Lemon Squeezy Retrieve a discount redemption
/v1/discount-redemptions/1
GET
Get v1 discount redemptions — Lemon Squeezy List all discount redemptions
/v1/discount-redemptions
GET
Get v1 license keys 1 — Lemon Squeezy Retrieve a license key
/v1/license-keys/1
GET
Get v1 license keys — Lemon Squeezy List all license keys
/v1/license-keys
GET
Get v1 license key instances 1 — Lemon Squeezy Retrieve a license key instance
/v1/license-key-instances/1
GET
Get v1 license key instances — Lemon Squeezy List all license key instances
/v1/license-key-instances
GET
Get v1 checkouts ac470bd4 7c41 474d b6cd 0f296f5 — Lemon Squeezy Retrieve a checkout
/v1/checkouts/ac470bd4-7c41-474d-b6cd-0f296f5be02a
GET
Get v1 checkouts — Lemon Squeezy List all checkouts
/v1/checkouts
POST
Post v1 checkouts — Lemon Squeezy Create a checkout
/v1/checkouts
GET
Get v1 webhooks 1 — Lemon Squeezy Retrieve a webhook
/v1/webhooks/1
PATCH
Patch v1 webhooks 1 — Lemon Squeezy Update a webhook
/v1/webhooks/1
DELETE
Delete v1 webhooks 1 — Lemon Squeezy Delete a webhook
/v1/webhooks/1
GET
Get v1 webhooks — Lemon Squeezy List all webhooks
/v1/webhooks
POST
Post v1 webhooks — Lemon Squeezy Create a webhook
/v1/webhooks
GET
Get v1 health — Lemon Squeezy Health
/v1/health
GET
Get v1 404 — Lemon Squeezy 404
/v1/404

MCP Tools

get-v1-users-me

Lemon Squeezy Retrieve the authenticated user

read-only idempotent
get-v1-stores-1

Lemon Squeezy Retrieve a store

read-only idempotent
get-v1-stores

Lemon Squeezy List all stores

read-only idempotent
get-v1-customers-1

Lemon Squeezy Retrieve a customer

read-only idempotent
get-v1-customers

Lemon Squeezy List all customers

read-only idempotent
get-v1-products-1

Lemon Squeezy Retrieve a product

read-only idempotent
get-v1-products

Lemon Squeezy List all products

read-only idempotent
get-v1-variants-1

Lemon Squeezy Retrieve a variant

read-only idempotent
get-v1-variants

Lemon Squeezy List all variants

read-only idempotent
get-v1-prices-1

Lemon Squeezy Retrieve a price

read-only idempotent
get-v1-prices

Lemon Squeezy List all prices

read-only idempotent
get-v1-files-1

Lemon Squeezy Retrieve a file

read-only idempotent
get-v1-files

Lemon Squeezy List all files

read-only idempotent
get-v1-orders-1

Lemon Squeezy Retrieve an order

read-only idempotent
get-v1-orders

Lemon Squeezy List all orders

read-only idempotent
get-v1-affiliates-1

Lemon Squeezy Retrieve an affiliate

read-only idempotent
get-v1-affiliates

Lemon Squeezy List all affiliates

read-only idempotent
get-v1-order-items-1

Lemon Squeezy Retrieve an order item

read-only idempotent
get-v1-order-items

Lemon Squeezy List all order items

read-only idempotent
get-v1-subscriptions-1

Lemon Squeezy Retrieve a subscription

read-only idempotent
patch-v1-subscriptions-1

Lemon Squeezy Update a subscription

delete-v1-subscriptions-1

Lemon Squeezy Cancel a Subscription

idempotent
get-v1-subscriptions

Lemon Squeezy List all subscriptions

read-only idempotent
get-v1-subscription-items-1

Lemon Squeezy Retrieve a subscription item

read-only idempotent
patch-v1-subscription-items-1

Lemon Squeezy Update a subscription item

get-v1-subscription-items

Lemon Squeezy List all subscription items

read-only idempotent
get-v1-subscription-items-1-current-usage

Lemon Squeezy Retrieve a subscription items current usage

read-only idempotent
get-v1-subscription-invoices-1

Lemon Squeezy Retrieve a subscription invoice

read-only idempotent
get-v1-subscription-invoices

Lemon Squeezy List all subscription invoices

read-only idempotent
get-v1-usage-records-1

Lemon Squeezy Retrieve a usage-record

read-only idempotent
get-v1-usage-records

Lemon Squeezy List all usage records

read-only idempotent
post-v1-usage-records

Lemon Squeezy Create a usage record

get-v1-discounts-1

Lemon Squeezy Retrieve a discount

read-only idempotent
delete-v1-discounts-1

Lemon Squeezy Delete a discount

idempotent
get-v1-discounts

Lemon Squeezy List all discounts

read-only idempotent
post-v1-discounts

Lemon Squeezy Create a discount

get-v1-discount-redemptions-1

Lemon Squeezy Retrieve a discount redemption

read-only idempotent
get-v1-discount-redemptions

Lemon Squeezy List all discount redemptions

read-only idempotent
get-v1-license-keys-1

Lemon Squeezy Retrieve a license key

read-only idempotent
get-v1-license-keys

Lemon Squeezy List all license keys

read-only idempotent
get-v1-license-key-instances-1

Lemon Squeezy Retrieve a license key instance

read-only idempotent
get-v1-license-key-instances

Lemon Squeezy List all license key instances

read-only idempotent
get-v1-checkouts-ac470bd4-7c41-474d-b6cd-0f296f5

Lemon Squeezy Retrieve a checkout

read-only idempotent
get-v1-checkouts

Lemon Squeezy List all checkouts

read-only idempotent
post-v1-checkouts

Lemon Squeezy Create a checkout

get-v1-webhooks-1

Lemon Squeezy Retrieve a webhook

read-only idempotent
patch-v1-webhooks-1

Lemon Squeezy Update a webhook

delete-v1-webhooks-1

Lemon Squeezy Delete a webhook

idempotent
get-v1-webhooks

Lemon Squeezy List all webhooks

read-only idempotent
post-v1-webhooks

Lemon Squeezy Create a webhook

get-v1-health

Lemon Squeezy Health

read-only idempotent
get-v1-404

Lemon Squeezy 404

read-only idempotent

Capability Spec

lemon-squeezy-capability.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Lemon Squeezy API
  description: Welcome to Lemon Squeezy! Whether you're launching a brand new store, a newsletter, or you're interested in
    using Lemon Squeezy as your ecommerce platform, you can find everything you need to know here.
  tags:
  - Lemon
  - Squeezy
  - API
  created: '2026-05-06'
  modified: '2026-05-06'
capability:
  consumes:
  - type: http
    namespace: lemon-squeezy
    baseUri: https://api.lemonsqueezy.com
    description: Lemon Squeezy API HTTP API.
    authentication:
      type: bearer
      token: '{{LEMON_SQUEEZY_TOKEN}}'
    resources:
    - name: v1-users-me
      path: /v1/users/me
      operations:
      - name: get-v1-users-me
        method: GET
        description: Lemon Squeezy Retrieve the authenticated user
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: v1-stores-1
      path: /v1/stores/1
      operations:
      - name: get-v1-stores-1
        method: GET
        description: Lemon Squeezy Retrieve a store
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: v1-stores
      path: /v1/stores
      operations:
      - name: get-v1-stores
        method: GET
        description: Lemon Squeezy List all stores
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: v1-customers-1
      path: /v1/customers/1
      operations:
      - name: get-v1-customers-1
        method: GET
        description: Lemon Squeezy Retrieve a customer
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: v1-customers
      path: /v1/customers
      operations:
      - name: get-v1-customers
        method: GET
        description: Lemon Squeezy List all customers
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: v1-products-1
      path: /v1/products/1
      operations:
      - name: get-v1-products-1
        method: GET
        description: Lemon Squeezy Retrieve a product
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: v1-products
      path: /v1/products
      operations:
      - name: get-v1-products
        method: GET
        description: Lemon Squeezy List all products
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: v1-variants-1
      path: /v1/variants/1
      operations:
      - name: get-v1-variants-1
        method: GET
        description: Lemon Squeezy Retrieve a variant
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: v1-variants
      path: /v1/variants
      operations:
      - name: get-v1-variants
        method: GET
        description: Lemon Squeezy List all variants
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: v1-prices-1
      path: /v1/prices/1
      operations:
      - name: get-v1-prices-1
        method: GET
        description: Lemon Squeezy Retrieve a price
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: v1-prices
      path: /v1/prices
      operations:
      - name: get-v1-prices
        method: GET
        description: Lemon Squeezy List all prices
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: v1-files-1
      path: /v1/files/1
      operations:
      - name: get-v1-files-1
        method: GET
        description: Lemon Squeezy Retrieve a file
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: v1-files
      path: /v1/files
      operations:
      - name: get-v1-files
        method: GET
        description: Lemon Squeezy List all files
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: v1-orders-1
      path: /v1/orders/1
      operations:
      - name: get-v1-orders-1
        method: GET
        description: Lemon Squeezy Retrieve an order
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: v1-orders
      path: /v1/orders
      operations:
      - name: get-v1-orders
        method: GET
        description: Lemon Squeezy List all orders
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: v1-affiliates-1
      path: /v1/affiliates/1
      operations:
      - name: get-v1-affiliates-1
        method: GET
        description: Lemon Squeezy Retrieve an affiliate
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: v1-affiliates
      path: /v1/affiliates
      operations:
      - name: get-v1-affiliates
        method: GET
        description: Lemon Squeezy List all affiliates
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: v1-order-items-1
      path: /v1/order-items/1
      operations:
      - name: get-v1-order-items-1
        method: GET
        description: Lemon Squeezy Retrieve an order item
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: v1-order-items
      path: /v1/order-items
      operations:
      - name: get-v1-order-items
        method: GET
        description: Lemon Squeezy List all order items
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: v1-subscriptions-1
      path: /v1/subscriptions/1
      operations:
      - name: get-v1-subscriptions-1
        method: GET
        description: Lemon Squeezy Retrieve a subscription
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: patch-v1-subscriptions-1
        method: PATCH
        description: Lemon Squeezy Update a subscription
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: delete-v1-subscriptions-1
        method: DELETE
        description: Lemon Squeezy Cancel a Subscription
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: v1-subscriptions
      path: /v1/subscriptions
      operations:
      - name: get-v1-subscriptions
        method: GET
        description: Lemon Squeezy List all subscriptions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: v1-subscription-items-1
      path: /v1/subscription-items/1
      operations:
      - name: get-v1-subscription-items-1
        method: GET
        description: Lemon Squeezy Retrieve a subscription item
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: patch-v1-subscription-items-1
        method: PATCH
        description: Lemon Squeezy Update a subscription item
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: v1-subscription-items
      path: /v1/subscription-items
      operations:
      - name: get-v1-subscription-items
        method: GET
        description: Lemon Squeezy List all subscription items
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: v1-subscription-items-1-current-usage
      path: /v1/subscription-items/1/current-usage
      operations:
      - name: get-v1-subscription-items-1-current-usage
        method: GET
        description: Lemon Squeezy Retrieve a subscription items current usage
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: v1-subscription-invoices-1
      path: /v1/subscription-invoices/1
      operations:
      - name: get-v1-subscription-invoices-1
        method: GET
        description: Lemon Squeezy Retrieve a subscription invoice
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: v1-subscription-invoices
      path: /v1/subscription-invoices
      operations:
      - name: get-v1-subscription-invoices
        method: GET
        description: Lemon Squeezy List all subscription invoices
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: v1-usage-records-1
      path: /v1/usage-records/1
      operations:
      - name: get-v1-usage-records-1
        method: GET
        description: Lemon Squeezy Retrieve a usage-record
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: v1-usage-records
      path: /v1/usage-records
      operations:
      - name: get-v1-usage-records
        method: GET
        description: Lemon Squeezy List all usage records
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: post-v1-usage-records
        method: POST
        description: Lemon Squeezy Create a usage record
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: v1-discounts-1
      path: /v1/discounts/1
      operations:
      - name: get-v1-discounts-1
        method: GET
        description: Lemon Squeezy Retrieve a discount
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: delete-v1-discounts-1
        method: DELETE
        description: Lemon Squeezy Delete a discount
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: v1-discounts
      path: /v1/discounts
      operations:
      - name: get-v1-discounts
        method: GET
        description: Lemon Squeezy List all discounts
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: post-v1-discounts
        method: POST
        description: Lemon Squeezy Create a discount
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: v1-discount-redemptions-1
      path: /v1/discount-redemptions/1
      operations:
      - name: get-v1-discount-redemptions-1
        method: GET
        description: Lemon Squeezy Retrieve a discount redemption
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: v1-discount-redemptions
      path: /v1/discount-redemptions
      operations:
      - name: get-v1-discount-redemptions
        method: GET
        description: Lemon Squeezy List all discount redemptions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: v1-license-keys-1
      path: /v1/license-keys/1
      operations:
      - name: get-v1-license-keys-1
        method: GET
        description: Lemon Squeezy Retrieve a license key
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: v1-license-keys
      path: /v1/license-keys
      operations:
      - name: get-v1-license-keys
        method: GET
        description: Lemon Squeezy List all license keys
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: v1-license-key-instances-1
      path: /v1/license-key-instances/1
      operations:
      - name: get-v1-license-key-instances-1
        method: GET
        description: Lemon Squeezy Retrieve a license key instance
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: v1-license-key-instances
      path: /v1/license-key-instances
      operations:
      - name: get-v1-license-key-instances
        method: GET
        description: Lemon Squeezy List all license key instances
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: v1-checkouts-ac470bd4-7c41-474d-b6cd-0f296f5be02
      path: /v1/checkouts/ac470bd4-7c41-474d-b6cd-0f296f5be02a
      operations:
      - name: get-v1-checkouts-ac470bd4-7c41-474d-b6cd-0f296f5
        method: GET
        description: Lemon Squeezy Retrieve a checkout
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: v1-checkouts
      path: /v1/checkouts
      operations:
      - name: get-v1-checkouts
        method: GET
        description: Lemon Squeezy List all checkouts
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: post-v1-checkouts
        method: POST
        description: Lemon Squeezy Create a checkout
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: v1-webhooks-1
      path: /v1/webhooks/1
      operations:
      - name: get-v1-webhooks-1
        method: GET
        description: Lemon Squeezy Retrieve a webhook
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: patch-v1-webhooks-1
        method: PATCH
        description: Lemon Squeezy Update a webhook
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: delete-v1-webhooks-1
        method: DELETE
        description: Lemon Squeezy Delete a webhook
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: v1-webhooks
      path: /v1/webhooks
      operations:
      - name: get-v1-webhooks
        method: GET
        description: Lemon Squeezy List all webhooks
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: post-v1-webhooks
        method: POST
        description: Lemon Squeezy Create a webhook
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: v1-health
      path: /v1/health
      operations:
      - name: get-v1-health
        method: GET
        description: Lemon Squeezy Health
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: v1-404
      path: /v1/404
      operations:
      - name: get-v1-404
        method: GET
        description: Lemon Squeezy 404
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
  exposes:
  - type: rest
    port: 8080
    namespace: lemon-squeezy-rest
    description: REST adapter for Lemon Squeezy API.
    resources:
    - path: /v1/users/me
      name: get-v1-users-me
      operations:
      - method: GET
        name: get-v1-users-me
        description: Lemon Squeezy Retrieve the authenticated user
        call: lemon-squeezy.get-v1-users-me
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/stores/1
      name: get-v1-stores-1
      operations:
      - method: GET
        name: get-v1-stores-1
        description: Lemon Squeezy Retrieve a store
        call: lemon-squeezy.get-v1-stores-1
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/stores
      name: get-v1-stores
      operations:
      - method: GET
        name: get-v1-stores
        description: Lemon Squeezy List all stores
        call: lemon-squeezy.get-v1-stores
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/customers/1
      name: get-v1-customers-1
      operations:
      - method: GET
        name: get-v1-customers-1
        description: Lemon Squeezy Retrieve a customer
        call: lemon-squeezy.get-v1-customers-1
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/customers
      name: get-v1-customers
      operations:
      - method: GET
        name: get-v1-customers
        description: Lemon Squeezy List all customers
        call: lemon-squeezy.get-v1-customers
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/products/1
      name: get-v1-products-1
      operations:
      - method: GET
        name: get-v1-products-1
        description: Lemon Squeezy Retrieve a product
        call: lemon-squeezy.get-v1-products-1
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/products
      name: get-v1-products
      operations:
      - method: GET
        name: get-v1-products
        description: Lemon Squeezy List all products
        call: lemon-squeezy.get-v1-products
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/variants/1
      name: get-v1-variants-1
      operations:
      - method: GET
        name: get-v1-variants-1
        description: Lemon Squeezy Retrieve a variant
        call: lemon-squeezy.get-v1-variants-1
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/variants
      name: get-v1-variants
      operations:
      - method: GET
        name: get-v1-variants
        description: Lemon Squeezy List all variants
        call: lemon-squeezy.get-v1-variants
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/prices/1
      name: get-v1-prices-1
      operations:
      - method: GET
        name: get-v1-prices-1
        description: Lemon Squeezy Retrieve a price
        call: lemon-squeezy.get-v1-prices-1
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/prices
      name: get-v1-prices
      operations:
      - method: GET
        name: get-v1-prices
        description: Lemon Squeezy List all prices
        call: lemon-squeezy.get-v1-prices
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/files/1
      name: get-v1-files-1
      operations:
      - method: GET
        name: get-v1-files-1
        description: Lemon Squeezy Retrieve a file
        call: lemon-squeezy.get-v1-files-1
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/files
      name: get-v1-files
      operations:
      - method: GET
        name: get-v1-files
        description: Lemon Squeezy List all files
        call: lemon-squeezy.get-v1-files
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/orders/1
      name: get-v1-orders-1
      operations:
      - method: GET
        name: get-v1-orders-1
        description: Lemon Squeezy Retrieve an order
        call: lemon-squeezy.get-v1-orders-1
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/orders
      name: get-v1-orders
      operations:
      - method: GET
        name: get-v1-orders
        description: Lemon Squeezy List all orders
        call: lemon-squeezy.get-v1-orders
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/affiliates/1
      name: get-v1-affiliates-1
      operations:
      - method: GET
        name: get-v1-affiliates-1
        description: Lemon Squeezy Retrieve an affiliate
        call: lemon-squeezy.get-v1-affiliates-1
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/affiliates
      name: get-v1-affiliates
      operations:
      - method: GET
        name: get-v1-affiliates
        description: Lemon Squeezy List all affiliates
        call: lemon-squeezy.get-v1-affiliates
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/order-items/1
      name: get-v1-order-items-1
      operations:
      - method: GET
        name: get-v1-order-items-1
        description: Lemon Squeezy Retrieve an order item
        call: lemon-squeezy.get-v1-order-items-1
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/order-items
      name: get-v1-order-items
      operations:
      - method: GET
        name: get-v1-order-items
        description: Lemon Squeezy List all order items
        call: lemon-squeezy.get-v1-order-items
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/subscriptions/1
      name: get-v1-subscriptions-1
      operations:
      - method: GET
        name: get-v1-subscriptions-1
        description: Lemon Squeezy Retrieve a subscription
        call: lemon-squeezy.get-v1-subscriptions-1
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/subscriptions/1
      name: patch-v1-subscriptions-1
      operations:
      - method: PATCH
        name: patch-v1-subscriptions-1
        description: Lemon Squeezy Update a subscription
        call: lemon-squeezy.patch-v1-subscriptions-1
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/subscriptions/1
      name: delete-v1-subscriptions-1
      operations:
      - method: DELETE
        name: delete-v1-subscriptions-1
        description: Lemon Squeezy Cancel a Subscription
        call: lemon-squeezy.delete-v1-subscriptions-1
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/subscriptions
      name: get-v1-subscriptions
      operations:
      - method: GET
        name: get-v1-subscriptions
        description: Lemon Squeezy List all subscriptions
        call: lemon-squeezy.get-v1-subscriptions
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/subscription-items/1
      name: get-v1-subscription-items-1
      operations:
      - method: GET
        name: get-v1-subscription-items-1
        description: Lemon Squeezy Retrieve a subscription item
        call: lemon-squeezy.get-v1-subscription-items-1
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/subscription-items/1
      name: patch-v1-subscription-items-1
      operations:
      - method: PATCH
        name: patch-v1-subscription-items-1
        description: Lemon Squeezy Update a subscription item
        call: lemon-squeezy.patch-v1-subscription-items-1
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/subscription-items
      name: get-v1-subscription-items
      operations:
      - method: GET
        name: get-v1-subscription-items
        description: Lemon Squeezy List all subscription items
        call: lemon-squeezy.get-v1-subscription-items
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/subscription-items/1/current-usage
      name: get-v1-subscription-items-1-current-usage
      operations:
      - method: GET
        name: get-v1-subscription-items-1-current-usage
        description: Lemon Squeezy Retrieve a subscription items current usage
        call: lemon-squeezy.get-v1-subscription-items-1-current-usage
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/subscription-invoices/1
      name: get-v1-subscription-invoices-1
      operations:
      - method: GET
        name: get-v1-subscription-invoices-1
        description: Lemon Squeezy Retrieve a subscription invoice
        call: lemon-squeezy.get-v1-subscription-invoices-1
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/subscription-invoices
      name: get-v1-subscription-invoices
      operations:
      - method: GET
        name: get-v1-subscription-invoices
        description: Lemon Squeezy List all subscription invoices
        call: lemon-squeezy.get-v1-subscription-invoices
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/usage-records/1
      name: get-v1-usage-records-1
      operations:
      - method: GET
        name: get-v1-usage-records-1
        description: Lemon Squeezy Retrieve a usage-record
        call: lemon-squeezy.get-v1-usage-records-1
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/usage-records
      name: get-v1-usage-records
      operations:
      - method: GET
        name: get-v1-usage-records
        description: Lemon Squeezy List all usage records
        call: lemon-squeezy.get-v1-usage-records
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/usage-records
      name: post-v1-usage-records
      operations:
      - method: POST
        name: post-v1-usage-records
        description: Lemon Squeezy Create a usage record
        call: lemon-squeezy.post-v1-usage-records
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/discounts/1
      name: get-v1-discounts-1
      operations:
      - method: GET
        name: get-v1-discounts-1
        description: Lemon Squeezy Retrieve a discount
        call: lemon-squeezy.get-v1-discounts-1
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/discounts/1
      name: delete-v1-discounts-1
      operations:
      - method: DELETE
        name: delete-v1-discounts-1
        description: Lemon Squeezy Delete a discount
        call: lemon-squeezy.delete-v1-discounts-1
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/discounts
      name: get-v1-discounts
      operations:
      - method: GET
        name: get-v1-discounts
        description: Lemon Squeezy List all discounts
        call: lemon-squeezy.get-v1-discounts
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/discounts
      name: post-v1-discounts
      operations:
      - method: POST
        name: post-v1-discounts
        description: Lemon Squeezy Create a discount
        call: lemon-squeezy.post-v1-discounts
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/discount-redemptions/1
      name: get-v1-discount-redemptions-1
      operations:
      - method: GET
        name: get-v1-discount-redemptions-1
        description: Lemon Squeezy Retrieve a discount redemption
        call: lemon-squeezy.get-v1-discount-redemptions-1
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/discount-redemptions
      name: get-v1-discount-redemptions
      operations:
      - method: GET
        name: get-v1-discount-redemptions
        description: Lemon Squeezy List all discount redemptions
        call: lemon-squeezy.get-v1-discount-redemptions
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/license-keys/1
      name: get-v1-license-keys-1
      operations:
      - method: GET
        name: get-v1-license-keys-1
        description: Lemon Squeezy Retrieve a license key
        call: lemon-squeezy.get-v1-license-keys-1
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/license-keys
      name: get-v1-license-keys
      operations:
      - method: GET
        name: get-v1-license-keys
        description: Lemon Squeezy List all license keys
        call: lemon-squeezy.get-v1-license-keys
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/license-key-instances/1
      name: get-v1-license-key-instances-1
      operations:
      - method: GET
        name: get-v1-license-key-instances-1
        description: Lemon Squeezy Retrieve a license key instance
        call: lemon-squeezy.get-v1-license-key-instances-1
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/license-key-instances
      name: get-v1-license-key-instances
      operations:
      - method: GET
        name: get-v1-license-key-instances
        description: Lemon Squeezy List all license key instances
        call: lemon-squeezy.get-v1-license-key-instances
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/checkouts/ac470bd4-7c41-474d-b6cd-0f296f5be02a
      name: get-v1-checkouts-ac470bd4-7c41-474d-b6cd-0f296f5
      operations:
      - method: GET
        name: get-v1-checkouts-ac470bd4-7c41-474d-b6cd-0f296f5
        description: Lemon Squeezy Retrieve a checkout
        call: lemon-squeezy.get-v1-checkouts-ac470bd4-7c41-474d-b6cd-0f296f5
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/checkouts
      name: get-v1-checkouts
      operations:
      - method: GET
        name: get-v1-checkouts
        description: Lemon Squeezy List all checkouts
        call: lemon-squeezy.get-v1-checkouts
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/checkouts
      name: post-v1-checkouts
      operations:
      - method: POST
        name: post-v1-checkouts
        description: Lemon Squeezy Create a checkout
        call: lemon-squeezy.post-v1-checkouts
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/webhooks/1
      name: get-v1-webhooks-1
      operations:
      - method: GET
        name: get-v1-webhooks-1
        description: Lemon Squeezy Retrieve a webhook
        call: lemon-squeezy.get-v1-webhooks-1
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/webhooks/1
      name: patch-v1-webhooks-1
      operations:
      - method: PATCH
        name: patch-v1-webhooks-1
        description: Lemon Squeezy Update a webhook
        call: lemon-squeezy.patch-v1-webhooks-1
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/webhooks/1
      name: delete-v1-webhooks-1
      operations:
      - method: DELETE
        name: delete-v1-webhooks-1
        description: Lemon Squeezy Delete a webhook
        call: lemon-squeezy.delete-v1-webhooks-1
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/webhooks
      name: get-v1-webhooks
      operations:
      - method: GET
        name: get-v1-webhooks
        description: Lemon Squeezy List all webhooks
        call: lemon-squeezy.get-v1-webhooks
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/webhooks
      name: post-v1-webhooks
      operations:
      - method: POST
        name: post-v1-webhooks
        description: Lemon Squeezy Create a webhook
        call: lemon-squeezy.post-v1-webhooks
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/health
      name: get-v1-health
      operations:
      - method: GET
        name: get-v1-health
        description: Lemon Squeezy Health
        call: lemon-squeezy.get-v1-health
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/404
      name: get-v1-404
      operations:
      - method: GET
        name: get-v1-404
        description: Lemon Squeezy 404
        call: lemon-squeezy.get-v1-404
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    port: 9090
    namespace: lemon-squeezy-mcp
    transport: http
    description: MCP adapter for Lemon Squeezy API for AI agent use.
    tools:
    - name: get-v1-users-me
      description: Lemon Squeezy Retrieve the authenticated user
      hints:
        readOnly: true
        destructive: false
        

# --- truncated at 32 KB (46 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/lemon-squeezy/refs/heads/main/capabilities/lemon-squeezy-capability.yaml