Skip to main content
This function and all other functions in this graphql sdk are deprecated. Please migrate to the new rest api.

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;