Przejdź do głównej zawartości

NewsletterIncentive

The shop's newsletter signup incentive — when enabled, a confirmed newsletter signup earns a personal discount code delivered by email. Use this to render the signup banner with real campaign values (e.g. "-10%" or "-20 PLN"); when isEnabled is false, hide the incentive messaging entirely.

type NewsletterIncentive {
discountAmount: Money
discountPercent: Float
discountType: DiscountApplicationType
isEnabled: Boolean!
minimumOrderAmount: Money
validityDays: Int
}

Fields

NewsletterIncentive.discountAmount ● Money object

Amount off when discountType is FIXED_AMOUNT. Null otherwise.

NewsletterIncentive.discountPercent ● Float scalar

Percent off (0-100) when discountType is PERCENTAGE. Null otherwise.

NewsletterIncentive.discountType ● DiscountApplicationType enum

Category of the reward discount. Null when the campaign is disabled.

NewsletterIncentive.isEnabled ● Boolean! non-null scalar

Whether the incentive campaign is currently active. False also when the underlying offer is paused or outside its date window — always gate the banner on this flag.

NewsletterIncentive.minimumOrderAmount ● Money object

Minimum order value required to use the reward code, when the offer defines one.

NewsletterIncentive.validityDays ● Int scalar

How many days the personal code stays valid from the moment it is issued. Null = only the offer's own end date applies.

Returned By

newsletterIncentive query