Skip to main content

productVariantStocksDelete Mutation

Deletes stocks from product variant.

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

Arguments

sku ● String

SKU of product variant for which stocks will be deleted.

variantId ● ID

ID of product variant for which stocks will be deleted.

warehouseIds ● [ID!]

Input list of warehouse IDs.

Type

ProductVariantStocksDelete

Deletes stocks from product variant.

Requires the MANAGE_PRODUCTSpermission.