OBJECT

VariantPricingInfo

Represents availability of a variant in the storefront.

link GraphQL Schema definition

  • type VariantPricingInfo {
  • # Whether it is in stock and visible or not.
  • available: Boolean @deprecated( reason: "This has been moved to the parent type as 'is_available'." )
  • # Whether it is in sale or not.
  • onSale: Boolean
  • # The discount amount if in sale (null otherwise).
  • discount: TaxedMoney
  • # The discount amount in the local currency.
  • discountLocalCurrency: TaxedMoney
  • # The price, with any discount subtracted.
  • price: TaxedMoney
  • # The price without any discount.
  • priceUndiscounted: TaxedMoney
  • # The discounted price in the local currency.
  • priceLocalCurrency: TaxedMoney
  • }