Skip to main content

MembershipDiscountCode

The membership discount code.

type MembershipDiscountCode {
applicability: MembershipDiscountCodeApplicability!
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

MembershipDiscountCode.applicability ● MembershipDiscountCodeApplicability! non-null object

Defines which membership categories this discount code can be applied to.

MembershipDiscountCode.availableFrom ● DateTime scalar

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

MembershipDiscountCode.availableTo ● DateTime scalar

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

MembershipDiscountCode.code ● String scalar

The code that attendees can specify during membership registration to obtain a discount. Codes must be unique within a membership contact store. Optional.

MembershipDiscountCode.createdAt ● DateTime! non-null scalar

The date and time the record was created.

MembershipDiscountCode.createdBy ● String scalar

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

MembershipDiscountCode.discount ● Discount! non-null union

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

MembershipDiscountCode.discountType ● DiscountType! non-null enum

The type of discount the discount code gives access to.

MembershipDiscountCode.id ● ID! non-null scalar

The unique identifier of the discount code.

MembershipDiscountCode.inventory ● Inventory! non-null object

The inventory for this discount code.

MembershipDiscountCode.lastModifiedAt ● DateTime! non-null scalar

The date and time the record was last modified.

MembershipDiscountCode.lastModifiedBy ● String scalar

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

MembershipDiscountCode.name ● String! non-null scalar

The name of the discount code. Discount code names must be unique with a membership contact store.

Member Of

MembershipRegistrationPaymentDetails object