Skip to main content

CustomerDiscountSnapshot

The customer's current non-tier discount scheme, if one applies.

type CustomerDiscountSnapshot {
code: String
daysUntilExpiry: Int
fixedAmountValue: Float
id: String!
name: String!
percentageValue: Float
type: String!
validTo: DateTime
}

Fields​

CustomerDiscountSnapshot.code ● String scalar​

The code of the scheme.

CustomerDiscountSnapshot.daysUntilExpiry ● Int scalar​

Whole days from the end of the period until the scheme ends. Empty for an open-ended scheme.

CustomerDiscountSnapshot.fixedAmountValue ● Float scalar​

The fixed discount amount.

CustomerDiscountSnapshot.id ● String! non-null scalar​

The unique ID of this record.

CustomerDiscountSnapshot.name ● String! non-null scalar​

The name of the scheme.

CustomerDiscountSnapshot.percentageValue ● Float scalar​

The discount in percent.

CustomerDiscountSnapshot.type ● String! non-null scalar​

PERCENTAGE or FIXED_AMOUNT.

CustomerDiscountSnapshot.validTo ● DateTime scalar​

When the scheme ends.

Member Of​

CustomerInsights object