Skip to main content

ProductVariantStocksDelete

Delete stocks from product variant.

Requires MANAGE_PRODUCTSpermission.
type ProductVariantStocksDelete {
productVariant: ProductVariant
stockErrors: [StockError!]! @deprecated
errors: [StockError!]!
}

Fields

ProductVariantStocksDelete.productVariant ● ProductVariant object products

Updated product variant.

ProductVariantStocksDelete.stockErrors ● [StockError!]! deprecated non-null object products

DEPRECATED

This field will be removed in Saleor 4.0. Use errors field instead.

ProductVariantStocksDelete.errors ● [StockError!]! non-null object products

Returned By

productVariantStocksDelete mutation