Przejdź do głównej zawartości

variantPrices

Batch variant prices for the signed-in customer. Use when the store restricts catalog prices to signed-in customers — price/priceRange are null in the public catalog then. Requires authentication on a price-restricted store (error code PRICES_REQUIRE_LOGIN otherwise). Max 100 ids per call.

variantPrices(
variantIds: [ID!]!
): [VariantPrice!]!

Arguments

variantPrices.variantIds ● [ID!]! non-null scalar

Variant UUIDs to price (max 100).

Type

VariantPrice object

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).