Skip to content

GrantableCreditInput

A grantable credit to save.

input GrantableCreditInput {
amount: Decimal!
closedToAttendee: [Guid!]!
closedToPurchaser: [Guid!]!
currencyCode: String!
delayedTo: PointInTimeInput
id: Guid
onAction: CreditGrantTriggerAction!
openToAttendee: [Guid!]!
openToPurchaser: [Guid!]!
outsideOfPackageOnly: Boolean!
priceId: Guid
target: GrantTargetType!
timezone: String
validFrom: PointInTimeInput
validTo: PointInTimeInput
}

The amount of credit to apply.

Closed to attendees with any of these tag types.

Closed to purchasers with any of these tag types.

The currency of the amount, such as PTS for points.

Delay application: when to apply the credit after the action. Null: no delay.

The item to update. Omitted: a new item is created.

The action that applies the credit: purchase or attendance.

Open to attendees with one of these tag types only. Empty: open to all attendees.

Open to purchasers with one of these tag types only. Empty: open to all purchasers.

Whether the credit applies only to an item outside a package.

The specific price that it applies to. Null: every price.

Who to apply the credit to: the purchaser or the attendee.

The time zone of an absolute validFrom, validTo or delayedTo, such as Europe/London.

When the credit starts to apply. A relative time counts back from the product’s start.

When the credit no longer applies. A relative time counts back from the product’s start.

DonationInput input ● EventInput input ● MembershipTypeInput input ● MerchandiseInput input ● PackageInput input ● RemoteInput input