Skip to main content
Version: 3.x

productVariantStocksUpdate

Update stocks for product variant.

Requires one of the following permissions: MANAGE_PRODUCTS.

productVariantStocksUpdate(
stocks: [StockInput!]!
variantId: ID!
): ProductVariantStocksUpdate

Arguments

stocks ([StockInput!]!)

Input list of stocks to create.

variantId (ID!)

ID of a product variant for which stocks will be created.

Type

ProductVariantStocksUpdate

Update stocks for product variant.

Requires one of the following permissions: MANAGE_PRODUCTS.