productivity
Sellfy CLI for Headless Automation
Use the Sellfy CLI for headless automation with headless JSON commands, schema discovery, credentials, and permission controls.
7 functions 6 read 1 write API key auth
Sellfy CLI for Headless Automation
Use KosmoKrator as a non-interactive integration runtime for local automations and wrappers.
Use headless automation when another tool needs a stable local command surface. 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 Headless Automation
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
| Function | Type | Parameters | Description |
|---|---|---|---|
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
- Use
--jsonfor machine-readable output. - Keep credentials out of argv by using environment variables or stored KosmoKrator configuration.
- Configure read/write policy before unattended runs; use
--forceonly for trusted automation. - Use the MCP gateway instead when the agent needs dynamic tool discovery inside a conversation.