> Documentation index: [Saleor](/llms.txt) · [This section](/api-reference/products/llms.txt)
> Source: https://docs.saleor.io/api-reference/products/subscriptions/product-variant-out-of-stock-in-channel

# productVariantOutOfStockInChannel Subscription

Event sent when a product variant becomes out of stock across all non click-and-collect warehouses in a channel.

Note: Only triggered when the `useLegacyShippingZoneStockAvailability` shop setting is disabled.

Added in Saleor 3.23

This API is currently in **Feature Preview** and can be subject to changes at later point.

```graphql
productVariantOutOfStockInChannel(
  channels: [String!]
): ProductVariantOutOfStockInChannel
```

Details

```graphql
type ProductVariantOutOfStockInChannel implements Event {
  issuedAt: DateTime
  version: String
  issuingPrincipal: IssuingPrincipal
  recipient: App
  productVariant: ProductVariant!
  channel: Channel!
}
```

<a id="arguments"></a>

### Arguments

<a id="channels"></a>

#### [`channels`](#channels) ● [`[String!]`](/api-reference/miscellaneous/scalars/string.md)

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.

<a id="type"></a>

### Type

<a id="productvariantoutofstockinchannel"></a>

#### [`ProductVariantOutOfStockInChannel`](/api-reference/products/objects/product-variant-out-of-stock-in-channel.md)

Event sent when a product variant becomes out of stock across all non click-and-collect warehouses in a channel.

Note: Only triggered when the `useLegacyShippingZoneStockAvailability` shop setting is disabled.

Added in Saleor 3.23
