Skip to main content

createMembershipContactStoreCourse

Create a course in a membership contact store.

Throws an error with code:

  • NOT_FOUND if a membership contact store matching the input's membershipContactStoreId field cannot be found.
  • MODULE_NOT_ENABLED if the continuing education module is not enabled in the membership contact store.
  • NOT_FOUND if any credit types matching the input's credits collection creditTypeId field cannot be found within the membership contact store.
  • NOT_FOUND if any course classifications matching the input's classifications collection courseClassificationId field cannot be found within the membership contact store.
  • NOT_FOUND if a course sub classification matching the input's classifications collection courseSubClassificationId field is not associated with the course classification specified by courseClassificationId.
  • NOT_FOUND if any contact matching the input's instructors collection contactId field cannot be found within the membership contact store.
createMembershipContactStoreCourse(
input: CreateMembershipContactStoreCourseInput!
): CreateMembershipContactStoreCoursePayload!

Arguments

createMembershipContactStoreCourse.input ● CreateMembershipContactStoreCourseInput! non-null input

Type

CreateMembershipContactStoreCoursePayload object

Payload returned when creating a course in a membership contact store.