LoyaltyDiscountProgress
Represents the progress of a loyalty discount for a customer, including spending thresholds, discount levels, and tier advancement information.
Type Definition
type LoyaltyDiscountProgress {
title: String
description: String
totalSpent: Float!
isStackable: Boolean!
isCombinable: Boolean!
levels: [LoyaltyDiscountLevel]!
currentLevelValidUntil: String
currentLevelThreshold: Float!
currentLevelDiscount: Float!
nextLevelThreshold: Float
nextLevelDiscount: Float
}Fields
Relationships
LoyaltyDiscountProgress tracks a customer’s progression through loyalty discount tiers. It contains a collection of LoyaltyDiscountLevel objects that define the available tier levels. The type is accessed through the Customer object via the loyaltyDiscountProgress field.
Example
{
title
description
totalSpent
isStackable
isCombinable
levels {
threshold
discount
}
currentLevelValidUntil
currentLevelThreshold
currentLevelDiscount
nextLevelThreshold
nextLevelDiscount
}Implements
None