Skip to main content

upsertBinLocation

Creates a bin location with the given code in the given warehouse, or updates the existing bin location position if a row with the same (warehouseId, code) already exists. Returns the resulting bin location row.

Required scopes​

The token needs the warehouses:write access scope.

upsertBinLocation(
input: UpsertBinLocationInput!
): BinLocation!

Arguments​

upsertBinLocation.input ● UpsertBinLocationInput! non-null input​

Type​

BinLocation object​

A bin location inside a warehouse — the smallest addressable place stock can live. Pick lists and stock movements reference bin locations rather than the warehouse as a whole.