createEventCourseRegistration
Create a course registration in an event.
Throws an error with code:
NOT_FOUND
if an event matching the input'seventId
field cannot be found.MODULE_NOT_ENABLED
if the continuing education module is not enabled in the event.NOT_FOUND
if a contact matching the input'scontactId
field cannot be found within the event.NOT_FOUND
if a course discount code matching the input'sdiscountCodeId
field cannot be found within the event.
createEventCourseRegistration(
input: CreateEventCourseRegistrationInput!
): CreateEventCourseRegistrationPayload!
Arguments
createEventCourseRegistration.input
● CreateEventCourseRegistrationInput!
non-null input
Type
CreateEventCourseRegistrationPayload
object
Payload returned when creating a course registration in an event.