Skip to main content
This workflow grants Course access directly. It does not register a sale or create an Order. Use it for a controlled Administrator action, including an integration operated with review of the target account and Course.

Get the two IDs

  1. Find the Student and keep the returned studentId. Confirm the account has the student role.
  2. List Courses or Get the Course and keep its courseId.
  3. If needed, read the Student’s current Courses before granting access.

Grant access

Send your Administrator headers:
The mutation returns Unit rather than a grant receipt. A repeated direct grant can fail. After a timeout or ambiguous result, check the Student’s current Course access before considering another call. If the Course already appears, stop and reconcile the result; current ownership alone does not identify which grant source created access. Do not retry automatically. See the grantCourseOwnershipToStudent mutation reference for its supported arguments and return scalar.