Skip to main content

CreateStockRelocationOrderLineItemInput

One line item created together with a stock relocation order via createStockRelocationOrder.

input CreateStockRelocationOrderLineItemInput {
productId: ID!
quantity: Int!
sourceBinLocationId: ID
destinationBinLocationId: ID
}

Fields​

CreateStockRelocationOrderLineItemInput.productId ● ID! non-null scalar​

ID of the product to relocate.

CreateStockRelocationOrderLineItemInput.quantity ● Int! non-null scalar​

Number of units to relocate. Must be positive. It is not limited to the stock in the source; units missing when picking are handled like any shortfall in picking.

CreateStockRelocationOrderLineItemInput.sourceBinLocationId ● ID scalar​

ID of the bin location the stock is picked from. Must belong to the source warehouse. When omitted, the stock may be picked from anywhere in the source warehouse.

CreateStockRelocationOrderLineItemInput.destinationBinLocationId ● ID scalar​

ID of the bin location the stock is stocked into. Must belong to the destination warehouse and differ from the source bin location. When omitted, the stocking decides the bin location. Required when the destination warehouse is the source warehouse.

Member Of​

CreateStockRelocationOrderInput input