Required Permissions

  • courses:update

Usage

import { whopSdk } from "@/lib/whop-sdk";

const result = await whopSdk.courses.moveCourse({
	// The ID of the course to move
	courseId: "cors_XXXXXXXX" /* Required! */,

	// The experience to move the course into
	destinationExperienceId: "xxxxxxxxxxx" /* Required! */,
});

Example output

const result = true;