Skip to main content
Version: 3.x

ProductVariantStocksCreate

Creates stocks for product variant.

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

Fields

ProductVariantStocksCreate.productVariant ● ProductVariant object

Updated product variant.

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

DEPRECATED

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

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

Returned by

productVariantStocksCreate mutation


Was this page helpful?