Skip to main content

RegistrationDiscountCode

Discount codes can be defined by event organizers and communicated to attendees who can use them during registration to get a discount on the standard fee.

type RegistrationDiscountCode {
applicability: RegistrationDiscountCodeApplicability!
availableFrom: DateTime
availableTo: DateTime
code: String!
createdAt: DateTime!
createdBy: String
discount: Discount!
discountType: DiscountType!
id: ID!
inventory: Inventory!
lastModifiedAt: DateTime!
lastModifiedBy: String
name: String!
}

Fields

RegistrationDiscountCode.applicability ● RegistrationDiscountCodeApplicability! non-null object

Defines which registration types this discount code can be applied to.

RegistrationDiscountCode.availableFrom ● DateTime scalar

The date and time from when the discount code can be used. Optional.

RegistrationDiscountCode.availableTo ● DateTime scalar

The date and time until when the discount code can be used. Optional.

RegistrationDiscountCode.code ● String! non-null scalar

The code that attendees can specify during registration to obtain a discount.

Codes must be unique within an event.

RegistrationDiscountCode.createdAt ● DateTime! non-null scalar

The date and time the record was created.

RegistrationDiscountCode.createdBy ● String scalar

UTF-8 string value that represents the username of the user who created the record. Optional.

RegistrationDiscountCode.discount ● Discount! non-null union

The details of the discount the discount code gives access to.

Value of discountTypeType of discount
SET_AMOUNT_OFF_FEESetAmountOffFeeDiscount
PERCENTAGE_OFF_FEEPercentageOffFeeDiscount

RegistrationDiscountCode.discountType ● DiscountType! non-null enum

The type of discount the discount code gives access to.

RegistrationDiscountCode.id ● ID! non-null scalar

The unique identifier of the discount code.

RegistrationDiscountCode.inventory ● Inventory! non-null object

The inventory for this discount code.

RegistrationDiscountCode.lastModifiedAt ● DateTime! non-null scalar

The date and time the record was last modified.

RegistrationDiscountCode.lastModifiedBy ● String scalar

UTF-8 string value that represents the username of the user who last modified the record. Optional.

RegistrationDiscountCode.name ● String! non-null scalar

The name of the discount code.

Discount code names must be unique with an event.

Member Of

CreateRegistrationDiscountCodePayload object ● RegistrationPaymentDetails object ● RegistrationSetup object ● UpdateRegistrationDiscountCodePayload object