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

# ProductVariantStocksDelete Object

Deletes stocks from product variant.

Requires the MANAGE\_PRODUCTS permission.

Triggers the following webhook events:

-   PRODUCT\_VARIANT\_OUT\_OF\_STOCK (async): A product variant stock is deleted from a warehouse.
-   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\_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 ProductVariantStocksDelete {
  productVariant: ProductVariant
  stockErrors: [StockError!]! @deprecated
  errors: [StockError!]!
}
```

<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) ● [`[StockError!]!`](/api-reference/products/objects/stock-error.md)

Show deprecatedHide deprecated

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

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

DEPRECATED

Use `errors` field instead.

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

### Returned By

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