-
Notifications
You must be signed in to change notification settings - Fork 0
Lead
A lead is a prospective customer captured in Whop — a contact tracked through the sales/marketing funnel before they convert into a paying member. The SDK supports creating, listing, reading, and updating leads.
$client->leads // Matchable\Whop\Resource\LeadResource| HTTP | POST leads |
| Does | Creates a new lead. |
| Parameters |
$data — lead attributes (e.g. email, name, source). |
| Returns | array |
| HTTP | GET leads |
| Does | Lists leads. |
| Parameters |
$query — optional filters / pagination. |
| Returns | array |
| HTTP | GET leads/{id} |
| Does | Retrieves a single lead by ID. |
| Parameters |
$id — the lead ID. |
| Returns | array |
| HTTP | PATCH leads/{id} |
| Does | Updates a lead's attributes. |
| Parameters |
$id — the lead ID; $data — fields to change. |
| Returns | array |
$lead = $client->leads->create([
'email' => 'prospect@example.com',
'name' => 'Jane Prospect',
]);
$client->leads->update($lead['id'], ['status' => 'contacted']);Official Whop documentation: https://docs.whop.com
Core Company · AccountLink · File · AccessToken · AuthorizedUser · User · Member · Webhook
Payments & Billing Payment · Checkout · Plan · Product · Membership · Refund · Invoice · PromoCode · PaymentMethod · SetupIntent
Platform & Finance Transfer · FeeMarkup · Topup · Withdrawal · LedgerAccount · PayoutAccount · PayoutMethod
Disputes Dispute · DisputeAlert · ResolutionCenter
Commerce Shipment · Lead · Entry · Review · Affiliate · Stats
Experiences & Courses Experience · Course · CourseChapter · CourseLesson · CourseLessonInteraction · CourseStudent
Communication ChatChannel · DmChannel · DmMember · Message · Reaction · Forum · ForumPost · SupportChannel · Notification
Advertising AdCampaign · AdGroup · Ad
Apps & AI App · AppBuild · AiChat · CompanyTokenTransaction
Verifications Verification