Skip to main content

UpsertBinLocationInput

Input for upsertBinLocation. Idempotent on (warehouseId, code) — supplying an existing code updates that bin location's position (when given) rather than creating a duplicate.

input UpsertBinLocationInput {
warehouseId: ID!
code: String!
position: Int
}

Fields​

UpsertBinLocationInput.warehouseId ● ID! non-null scalar​

ID of the parent warehouse.

UpsertBinLocationInput.code ● String! non-null scalar​

Bin location code (e.g. A-12-3). Unique within the parent warehouse.

UpsertBinLocationInput.position ● Int scalar​

Optional ordering hint used by pick-route generation. Lower numbers are visited first. When omitted, an existing bin location keeps its position.

Member Of​

upsertBinLocation mutation