Skip to main content

productVariantStocksCreate

Creates stocks for product variant.

Requires MANAGE_PRODUCTSpermission.
productVariantStocksCreate(
stocks: [StockInput!]!
variantId: ID!
): ProductVariantStocksCreate

Arguments

productVariantStocksCreate.stocks ● [StockInput!]! non-null input products

Input list of stocks to create.

productVariantStocksCreate.variantId ● ID! non-null scalar miscellaneous

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

Type

ProductVariantStocksCreate object products

Creates stocks for product variant.

Requires MANAGE_PRODUCTSpermission.