Skip to main content

ProductVariantStocksCreate Object

Creates stocks for product variant.

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

Fields

ProductVariantStocksCreate.productVariant ● ProductVariant object products

Updated product variant.

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

DEPRECATED

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

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

Returned By

productVariantStocksCreate mutation