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}Fields
Section titled “Fields”amount ● Decimal!non-nullscalar
Section titled “amount ● Decimal! ”The amount of credit to apply.
Closed to attendees with any of these tag types.
Closed to purchasers with any of these tag types.
currencyCode ● String!non-nullscalar
Section titled “currencyCode ● String! ”The currency of the amount, such as PTS for points.
Delay application: when to apply the credit after the action. Null: no delay.
id ● Guidscalar
Section titled “id ● Guid ”The item to update. Omitted: a new item is created.
onAction ● CreditGrantTriggerAction!non-nullenum
Section titled “onAction ● CreditGrantTriggerAction! ”The action that applies the credit: purchase or attendance.
openToAttendee ● [Guid!]!non-nullscalar
Section titled “openToAttendee ● [Guid!]! ”Open to attendees with one of these tag types only. Empty: open to all attendees.
openToPurchaser ● [Guid!]!non-nullscalar
Section titled “openToPurchaser ● [Guid!]! ”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.
Member Of
Section titled “Member Of”DonationInput input ● EventInput input ● MembershipTypeInput input ● MerchandiseInput input ● PackageInput input ● RemoteInput input

