Przejdź do głównej zawartości

LinkedVariantSummary

Summary of the stocked ProductVariant a configurator option maps to (component-style choice). Exposed via ConfiguratorOption.linkedVariant.

type LinkedVariantSummary {
availableStock: Int!
description: String
id: ID!
isAvailable: Boolean!
productId: ID!
sku: String
title: String!
trackQuantity: Boolean!
}

Fields

LinkedVariantSummary.availableStock ● Int! non-null scalar

Sellable stock (on hand minus reservations and safety stock, never below 0). Meaningless when trackQuantity is false — the component sells without a stock counter.

LinkedVariantSummary.description ● String scalar

Short description of the linked component product (from Product.shortDescription).

LinkedVariantSummary.id ● ID! non-null scalar

Variant ID.

LinkedVariantSummary.isAvailable ● Boolean! non-null scalar

Whether currently purchasable. True when inventory is not tracked (a service or digital component), when stock is left, or when backorders are allowed.

LinkedVariantSummary.productId ● ID! non-null scalar

Parent product ID.

LinkedVariantSummary.sku ● String scalar

SKU when defined.

LinkedVariantSummary.title ● String! non-null scalar

Variant name (e.g., "Large / Graphite").

LinkedVariantSummary.trackQuantity ● Boolean! non-null scalar

Whether inventory is tracked for this variant.

Member Of

ConfiguratorOption object