This function and all other functions in this graphql sdk are deprecated. Please migrate to the new rest api.
Required Permissions
courses:update
Usage
Copy
Ask AI
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
Copy
Ask AI
const result = true;

