whop-cli
بواسطة g9pedro
Shopping & E-commerceموجز
Manage Whop digital products store — create products, plans, track payments, manage memberships.
الوصف
ما الذي تفعله هذه المهارة
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.
متى تستخدمها
- 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
مثال على سير العمل
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
المتطلبات
- 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
التثبيت
clawhub install g9pedro/whop-cliشغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.