whop-cli
oleh g9pedro
Shopping & E-commerceRingkasan
Manage Whop digital products store — create products, plans, track payments, manage memberships.
Deskripsi
Apa yang Dilakukan Skill Ini
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.
Kapan Menggunakannya
- 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
Contoh Alur Kerja
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
Persyaratan
- 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
Instalasi
clawhub install g9pedro/whop-cliJalankan perintah CLI-nya, atau tempel prompt ke Claude Code, Cursor, Codex, atau coding agent apa pun yang Anda pakai.