Przejdź do głównej zawartości

VariantPrice

Price of a single variant served through the authenticated price channel — use when the store restricts catalog prices to signed-in customers (price/priceRange come back null then).

type VariantPrice {
compareAtPrice: Money
price: Money!
variantId: ID!
}

Fields

VariantPrice.compareAtPrice ● Money object

Strike-through compare-at price; null when the variant is not on sale.

VariantPrice.price ● Money! non-null object

Current price (shop base currency).

VariantPrice.variantId ● ID! non-null scalar

Variant the price belongs to.

Returned By

variantPrices query