Skip to main content

productVariantStocksDelete Mutation

Delete stocks from product variant.

Requires MANAGE_PRODUCTSpermission.
productVariantStocksDelete(
sku: String
variantId: ID
warehouseIds: [ID!]
): ProductVariantStocksDelete

Arguments

productVariantStocksDelete.sku ● String scalar miscellaneous

SKU of product variant for which stocks will be deleted.

productVariantStocksDelete.variantId ● ID scalar miscellaneous

ID of product variant for which stocks will be deleted.

productVariantStocksDelete.warehouseIds ● [ID!] list scalar miscellaneous

Input list of warehouse IDs.

Type

ProductVariantStocksDelete object products

Delete stocks from product variant.

Requires MANAGE_PRODUCTSpermission.