KosmoKrator

productivity

Sellfy CLI for Coding Agents

Use the Sellfy CLI for coding agents with headless JSON commands, schema discovery, credentials, and permission controls.

7 functions 6 read 1 write API key auth

Sellfy CLI for Coding Agents

Let coding agents discover schemas and execute integration functions through CLI commands or MCP.

Use this pattern when another coding agent needs exact commands and schema discovery. The Sellfy CLI uses the same integration registry as the TUI, Lua runtime, and MCP gateway, but returns predictable command output for automation.

Command Shape

# Sellfy CLI for Coding Agents
kosmokrator integrations:configure sellfy --set api_key="$SELLFY_API_KEY" --enable --read allow --write ask --json
kosmo integrations:call sellfy.sellfy_list_products '{"page_size":1,"page":1}' --json

Discovery Before Execution

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

kosmo integrations:docs sellfy --json
kosmo integrations:docs sellfy.sellfy_list_products --json
kosmo integrations:schema sellfy.sellfy_list_products --json
kosmo integrations:search "Sellfy" --json
kosmo integrations:list --json

Useful Sellfy CLI Functions

FunctionTypeParametersDescription
sellfy.sellfy_list_products Read page_size, page List all products in your Sellfy store. Returns product names, prices, and status.
sellfy.sellfy_get_product Read id Get details for a specific Sellfy product by ID. Returns full product information including pricing, description, and status.
sellfy.sellfy_create_product Write name, price, type, description, currency Create a new product in your Sellfy store. Supports digital products, subscriptions, and physical goods.
sellfy.sellfy_list_orders Read page_size, page List all orders in your Sellfy store. Returns order details including status, totals, and customer info.
sellfy.sellfy_get_order Read id Get details for a specific Sellfy order by ID. Returns full order information including line items, totals, and customer data.
sellfy.sellfy_list_customers Read page_size, page List all customers in your Sellfy store. Returns customer names, emails, and purchase history.
sellfy.sellfy_get_current_user Read none Get the currently authenticated Sellfy user profile. Useful for verifying API credentials and viewing account info.

Automation Notes

Related Sellfy CLI Pages