-
Notifications
You must be signed in to change notification settings - Fork 0
CourseChapter
A course chapter is a section within a Whop course that groups related lessons together, giving the course a structured outline. The SDK supports full CRUD on chapters.
$client->courseChapters // Matchable\Whop\Resource\CourseChapterResource| HTTP | POST course-chapters |
| Does | Creates a new course chapter. |
| Parameters |
$data — chapter attributes (e.g. course ID, title, order). |
| Returns |
array — the decoded API response. |
| HTTP | GET course-chapters |
| Does | Lists course chapters. |
| Parameters |
$query — optional filters / pagination (e.g. course_id). |
| Returns | array |
| HTTP | GET course-chapters/{id} |
| Does | Retrieves a single course chapter by ID. |
| Parameters |
$id — the course chapter ID. |
| Returns | array |
| HTTP | PATCH course-chapters/{id} |
| Does | Updates a course chapter. |
| Parameters |
$id — the course chapter ID; $data — fields to change. |
| Returns | array |
| HTTP | DELETE course-chapters/{id} |
| Does | Deletes a course chapter. |
| Parameters |
$id — the course chapter ID. |
| Returns | array |
$chapter = $client->courseChapters->create([
'course_id' => 'course_...',
'title' => 'Getting Started',
]);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