Skip to main content

CalculatedPrice

The price worked out for a quantity, after any tier applies.

type CalculatedPrice {
discount: Float!
isValid: Boolean!
originalPrice: Float!
price: Float!
tierName: String!
}

Fields​

CalculatedPrice.discount ● Float! non-null scalar​

The discount the tier gives.

CalculatedPrice.isValid ● Boolean! non-null scalar​

True when a price could be worked out.

CalculatedPrice.originalPrice ● Float! non-null scalar​

The price before the tier.

CalculatedPrice.price ● Float! non-null scalar​

The price after the tier.

CalculatedPrice.tierName ● String! non-null scalar​

The name of the tier that applied.

Returned By​

calculateVariantPrice query