whop-cli
bởi g9pedro
Shopping & E-commerceTóm tắt
Manage Whop digital products store — create products, plans, track payments, manage memberships.
Mô tả
Kỹ năng này làm gì
Manages a Whop digital products store via the Whop API. Covers products, pricing plans, payments, memberships, promo codes, and more. Requires a Whop account with API credentials.
Automates Whop store management tasks that would otherwise require navigating the dashboard manually, making it easier to script bulk operations or integrate store data into other workflows.
Khi nào nên dùng
- Creating a new digital product listing on Whop
- Setting up a one-time or recurring pricing plan
- Checking recent payments from customers
- Listing active memberships for a product
- Generating a checkout link for a plan
Quy trình ví dụ
User asks: create a product called 'AI Prompt Pack' with a $19 one-time price and give me the checkout link
- 1
Authenticate using WHOP_API_KEY and WHOP_COMPANY_ID from environment
- 2
Call products.create with the company ID and title 'AI Prompt Pack'
- 3
Call plans.create with the new product ID, plan_type 'one_time', and initial_price 19
- 4
Extract purchase_url from the created plan
A checkout URL (e.g. whop.com/checkout/...) ready to share with customers
Yêu cầu
- WHOP_API_KEY environment variable (from Whop dashboard Settings > Developer)
- WHOP_COMPANY_ID environment variable (from Whop dashboard)
- Whop account with an active company/store
Cài đặt
clawhub install g9pedro/whop-cliChạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.