productVariantOutOfStockForClickAndCollect Subscription
Event sent when a product variant becomes out of stock across all click-and-collect warehouses in a channel.
Note: Only triggered when the useLegacyShippingZoneStockAvailability shop setting is disabled.
This API is currently in Feature Preview and can be subject to changes at later point.
productVariantOutOfStockForClickAndCollect(
channels: [String!]
): ProductVariantOutOfStockForClickAndCollect
Details
type ProductVariantOutOfStockForClickAndCollect implements Event {
issuedAt: DateTime
version: String
issuingPrincipal: IssuingPrincipal
recipient: App
productVariant: ProductVariant!
channel: Channel!
}
Arguments
channels ● [String!]
List of channel slugs. The event will be sent only if the object belongs to one of the provided channels. If the channel slug list is empty, objects that belong to any channel will be sent. Maximally 500 items.
Type
ProductVariantOutOfStockForClickAndCollect
Event sent when a product variant becomes out of stock across all click-and-collect warehouses in a channel.
Note: Only triggered when the useLegacyShippingZoneStockAvailability shop setting is disabled.