Skip to main content

UpsertBinLocationInput

Input for upsertBinLocation. Idempotent on (warehouseId, code) — supplying an existing code returns the existing bin location 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.

Member Of

upsertBinLocation mutation