Skip to main content

SetProductDefaultBinLocationInput

Input for setProductDefaultBinLocation. Sets the default bin location for a product in a warehouse, upserting the underlying configuration row. Pass binLocationId: null (or omit it) to clear the default bin location.

input SetProductDefaultBinLocationInput {
productId: ID!
warehouseId: ID!
binLocationId: ID
}

Fields

SetProductDefaultBinLocationInput.productId ● ID! non-null scalar

ID of the product.

SetProductDefaultBinLocationInput.warehouseId ● ID! non-null scalar

ID of the warehouse.

SetProductDefaultBinLocationInput.binLocationId ● ID scalar

ID of the bin location to set as the default. Pass null (or omit) to clear the default bin location.

Member Of

setProductDefaultBinLocation mutation