LoyaltyDiscountProgress
Represents the progress of a loyalty discount for a customer, including their spending history, current tier status, and progression towards the next discount level.
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 is used by the Customer type to provide customers with visibility into their current loyalty tier status and progress. The type contains a collection of LoyaltyDiscountLevel objects that define the structure of available loyalty tiers. It tracks both the customer’s current tier benefits and the metrics required to advance to the next level.
Example
{
title
description
totalSpent
isStackable
isCombinable
currentLevelValidUntil
currentLevelThreshold
currentLevelDiscount
nextLevelThreshold
nextLevelDiscount
levels {
id
threshold
discount
}
}Implements
This type does not implement any interfaces.