Skip to main content

CustomerTierConfigItem

One rung of the customer discount tier ladder. The keys are fixed: SILVER, GOLD, PLATINUM and DIAMOND.

type CustomerTierConfigItem {
discountSchemeId: String
isDefault: Boolean!
key: String!
name: String!
rank: Int!
threshold: Float!
}

Fields​

CustomerTierConfigItem.discountSchemeId ● String scalar​

The ID of the discount scheme given to customers in the tier. Empty means no discount.

CustomerTierConfigItem.isDefault ● Boolean! non-null scalar​

Whether this is the default.

CustomerTierConfigItem.key ● String! non-null scalar​

The key of the tier.

CustomerTierConfigItem.name ● String! non-null scalar​

The name of the tier.

CustomerTierConfigItem.rank ● Int! non-null scalar​

The position in the ladder, from the threshold. 0 is the lowest.

CustomerTierConfigItem.threshold ● Float! non-null scalar​

The order value this month at or above which a customer reaches the tier.

Member Of​

CustomerTierConfig object