Skip to main content

ProductVariantStocksUpdate Object

Update stocks for product variant.

Requires MANAGE_PRODUCTSpermission.
type ProductVariantStocksUpdate {
productVariant: ProductVariant
bulkStockErrors: [BulkStockError!]! @deprecated
errors: [BulkStockError!]!
}

Fields

ProductVariantStocksUpdate.productVariant ● ProductVariant object products

Updated product variant.

ProductVariantStocksUpdate.bulkStockErrors ● [BulkStockError!]! deprecated non-null object products

DEPRECATED

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

ProductVariantStocksUpdate.errors ● [BulkStockError!]! non-null object products

Returned By

productVariantStocksUpdate mutation