> Documentation index: [Saleor](/llms.txt) · [This section](/api-reference/products/llms.txt)
> Source: https://docs.saleor.io/api-reference/products/objects/product-variant-stocks-update

# ProductVariantStocksUpdate Object

Updates stocks for product variant.

Requires the MANAGE\_PRODUCTS permission.

Triggers the following webhook events:

-   PRODUCT\_VARIANT\_STOCK\_UPDATED (async): A product variant stock is updated.
-   PRODUCT\_VARIANT\_BACK\_IN\_STOCK (async): A product variant stock transitioned from no availability to available quantity.
-   PRODUCT\_VARIANT\_OUT\_OF\_STOCK (async): A product variant stock transitioned from available quantity to no availability.
-   PRODUCT\_VARIANT\_BACK\_IN\_STOCK\_IN\_CHANNEL (async): A product variant is back in stock in a channel (non click-and-collect warehouses).

Note: Triggered only when the `useLegacyShippingZoneStockAvailability` shop setting is disabled.

-   PRODUCT\_VARIANT\_OUT\_OF\_STOCK\_IN\_CHANNEL (async): A product variant is out of stock in a channel (non click-and-collect warehouses).

Note: Triggered only when the `useLegacyShippingZoneStockAvailability` shop setting is disabled.

-   PRODUCT\_VARIANT\_BACK\_IN\_STOCK\_FOR\_CLICK\_AND\_COLLECT (async): A product variant is back in stock in a channel (click-and-collect warehouses).

Note: Triggered only when the `useLegacyShippingZoneStockAvailability` shop setting is disabled.

-   PRODUCT\_VARIANT\_OUT\_OF\_STOCK\_FOR\_CLICK\_AND\_COLLECT (async): A product variant is out of stock in a channel (click-and-collect warehouses).

Note: Triggered only when the `useLegacyShippingZoneStockAvailability` shop setting is disabled.

```graphql
type ProductVariantStocksUpdate {
  productVariant: ProductVariant
  bulkStockErrors: [BulkStockError!]! @deprecated
  errors: [BulkStockError!]!
}
```

<a id="fields"></a>

### Fields

<a id="product-variant"></a>

#### [`productVariant`](#product-variant) ● [`ProductVariant`](/api-reference/products/objects/product-variant.md)

Updated product variant.

<a id="errors"></a>

#### [`errors`](#errors) ● [`[BulkStockError!]!`](/api-reference/products/objects/bulk-stock-error.md)

Show deprecatedHide deprecated

<a id="bulk-stock-errors"></a>

#### [`bulkStockErrors`](#bulk-stock-errors) ● [`[BulkStockError!]!`](/api-reference/products/objects/bulk-stock-error.md)

DEPRECATED

Use `errors` field instead.

<a id="returned-by"></a>

### Returned By

[`productVariantStocksUpdate`](/api-reference/products/mutations/product-variant-stocks-update.md) mutation
