-
Notifications
You must be signed in to change notification settings - Fork 0
Course
A course is a structured learning product on Whop, made up of chapters and lessons that members work through. The SDK supports full CRUD on courses.
$client->courses // Matchable\Whop\Resource\CourseResource| HTTP | POST courses |
| Does | Creates a new course. |
| Parameters |
$data — course attributes (e.g. title, description, experience ID). |
| Returns | array |
| HTTP | GET courses |
| Does | Lists courses. |
| Parameters |
$query — optional filters / pagination. |
| Returns | array |
| HTTP | GET courses/{id} |
| Does | Retrieves a single course by ID. |
| Parameters |
$id — the course ID. |
| Returns | array |
| HTTP | PATCH courses/{id} |
| Does | Updates a course. |
| Parameters |
$id — the course ID; $data — fields to change. |
| Returns | array |
| HTTP | DELETE courses/{id} |
| Does | Deletes a course. |
| Parameters |
$id — the course ID. |
| Returns | array |
$course = $client->courses->get('course_...');- CourseChapter — sections that group lessons within a course
- CourseLesson — individual content units
- CourseLessonInteraction — per-student engagement records
- CourseStudent — enrolled students
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