productVariantStocksUpdate Mutation
Updates stocks for product variant.
productVariantStocksUpdate(
sku: String
stocks: [StockInput!]!
variantId: ID
): ProductVariantStocksUpdate
Show return type
Arguments
sku ● String
SKU of product variant for which stocks will be updated.
stocks ● [StockInput!]!
Input list of stocks to create or update.
variantId ● ID
ID of a product variant for which stocks will be updated.
Type
ProductVariantStocksUpdate
Updates stocks for product variant.