Skip to main content

CreateRegistrationInput

Defines the input for creating a registration.

input CreateRegistrationInput {
contactId: ID!
customFields: [CustomFieldInput!]
dateTime: DateTime!
discountCodeId: ID
eventId: ID!
paymentDetails: CreatePaymentDetailsInput!
registrationTypeId: ID!
temporaryHoldContextId: ID
}

Fields

CreateRegistrationInput.contactId ● ID! non-null scalar

The identifier of the contact the registration is associated with.

CreateRegistrationInput.customFields ● [CustomFieldInput!] list input

The custom fields to create for the registration. Optional.

CreateRegistrationInput.dateTime ● DateTime! non-null scalar

The date and time that the registration occurred.

CreateRegistrationInput.discountCodeId ● ID scalar

The identifier of the discount code to apply to the registration. Optional.

CreateRegistrationInput.eventId ● ID! non-null scalar

The identifier of the event the registration is associated with.

CreateRegistrationInput.paymentDetails ● CreatePaymentDetailsInput! non-null input

The payment details for the registration.

CreateRegistrationInput.registrationTypeId ● ID! non-null scalar

The identifier of the registration type the registration is associated with.

CreateRegistrationInput.temporaryHoldContextId ● ID scalar

A user-defined identifier representing the context for any previously created holds. If this ID is specified, any outstanding hold on the registration and its discount code will automatically be released when the registration is successfully created. Optional.

Member Of

createRegistration mutation