Przejdź do głównej zawartości

VariantAvailability

Availability of a variant resolved by the platform: status, release window (pre-order), expected availability and handling time. Build product-page copy, cart notes and structured data (Offer.availability, deliveryTime.handlingTime) from these fields.

type VariantAvailability {
expectedAvailability: AvailabilityWindow
handlingTime: BusinessDayRange
purchasableQuantity: Int
release: AvailabilityWindow
status: StockAvailability!
}

Fields​

VariantAvailability.expectedAvailability ● AvailabilityWindow object​

When the item is expected to become available: the release window for PREORDER, an estimated date range for BACKORDER (today plus the merchant handling time without stock). Null for items available now or not purchasable. Use to as the single estimated date for Google (availability_date).

VariantAvailability.handlingTime ● BusinessDayRange object​

Handling time in business days from order to carrier hand-off for the current status (in stock or after release: the regular handling time; backorder: the handling time without stock). Null when the item cannot be purchased or the merchant declared no time. Combine with the shipping method transit time for deliveryTime structured data.

VariantAvailability.purchasableQuantity ● Int scalar​

How many units a customer can still buy: units in stock plus units the merchant can still sell before stock arrives (pre-order or on-order limit). Null when there is no limit (untracked item or unlimited sale beyond stock). Use it as the maximum of the quantity selector.

VariantAvailability.release ● AvailabilityWindow object​

Release window set by the merchant (pre-order). Present while the release is pending; null once released or when the product was never a pre-order. DATE precision = hard release day: the parcel cannot leave before it.

VariantAvailability.status ● StockAvailability! non-null enum​

Resolved availability state (see enum values).

Member Of​

ProductVariant object