KosmoKrator

ecommerce

Lemon Squeezy CLI for CI

Use the Lemon Squeezy CLI for CI with headless JSON commands, schema discovery, credentials, and permission controls.

7 functions 7 read 0 write API key auth

Lemon Squeezy CLI for CI

Run integration calls from CI jobs with JSON output, explicit credentials, and predictable exit status.

Use this shape when a pipeline needs to read or update an external service. The Lemon Squeezy CLI uses the same integration registry as the TUI, Lua runtime, and MCP gateway, but returns predictable command output for automation.

Command Shape

# Lemon Squeezy CLI for CI
kosmokrator integrations:configure lemon-squeezy --set api_key="$LEMON_SQUEEZY_API_KEY" --enable --read allow --write ask --json
kosmo integrations:call lemon-squeezy.lemonsqueezy_list_products '{"page_size":1,"page":1}' --json

Discovery Before Execution

Agents and scripts can inspect Lemon Squeezy docs and schemas before choosing a function.

kosmo integrations:docs lemon-squeezy --json
kosmo integrations:docs lemon-squeezy.lemonsqueezy_list_products --json
kosmo integrations:schema lemon-squeezy.lemonsqueezy_list_products --json
kosmo integrations:search "Lemon Squeezy" --json
kosmo integrations:list --json

Useful Lemon Squeezy CLI Functions

FunctionTypeParametersDescription
lemon-squeezy.lemonsqueezy_list_products Read page_size, page List all digital products in your Lemon Squeezy store. Returns product names, prices, and status.
lemon-squeezy.lemonsqueezy_get_product Read id Get details for a specific Lemon Squeezy product by ID. Returns full product information including pricing, variants, and status.
lemon-squeezy.lemonsqueezy_list_orders Read page_size, page List all orders in your Lemon Squeezy store. Returns order details including status, totals, and customer info.
lemon-squeezy.lemonsqueezy_get_order Read id Get details for a specific Lemon Squeezy order by ID. Returns full order information including line items, totals, and customer data.
lemon-squeezy.lemonsqueezy_list_customers Read page_size, page List all customers in your Lemon Squeezy store. Returns customer names, emails, and metadata.
lemon-squeezy.lemonsqueezy_list_subscriptions Read page_size, page List all subscriptions in your Lemon Squeezy store. Returns subscription status, billing cycle, and customer info.
lemon-squeezy.lemonsqueezy_get_current_user Read none Get the currently authenticated Lemon Squeezy user profile. Useful for verifying API credentials and viewing account info.

Automation Notes

Related Lemon Squeezy CLI Pages