Skip to main content

CreateFunctionRegistrationInput

Defines the input details for creating a function registration in an event without capturing information for any guests.

input CreateFunctionRegistrationInput {
contactId: ID!
customFields: [CustomFieldInput!]
discountCodeId: ID
eventId: ID!
functionFeeTypeId: ID!
paymentDetails: CreatePaymentDetailsInput!
taxOverrides: [TaxOverrideInput!]
temporaryHoldContextId: ID
tickets: PositiveInt!
}

Fields

CreateFunctionRegistrationInput.contactId ● ID! non-null scalar

The identifier of the contact.

CreateFunctionRegistrationInput.customFields ● [CustomFieldInput!] list input

The custom fields to create for the function registration. Optional.

CreateFunctionRegistrationInput.discountCodeId ● ID scalar

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

CreateFunctionRegistrationInput.eventId ● ID! non-null scalar

The identifier of the event the function is associated with.

CreateFunctionRegistrationInput.functionFeeTypeId ● ID! non-null scalar

The identifier of the function fee type for the registration.

CreateFunctionRegistrationInput.paymentDetails ● CreatePaymentDetailsInput! non-null input

The payment details for the registration.

CreateFunctionRegistrationInput.taxOverrides ● [TaxOverrideInput!] list input

The collection of taxes for the function registration booking that will override the taxes from setup. Optional.

When set to null, the default taxes for the function registration will be applied. When set to an empty array, no taxes will be applied.

CreateFunctionRegistrationInput.temporaryHoldContextId ● ID scalar

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

CreateFunctionRegistrationInput.tickets ● PositiveInt! non-null scalar

The number of tickets to register. Defaults to 1.

Member Of

createFunctionRegistration mutation