Skip to main content

CreateStockRelocationOrderInput

Input for createStockRelocationOrder. All line items are relocated from the same source warehouse into the same destination warehouse, which must belong to the same location.

input CreateStockRelocationOrderInput {
sourceWarehouseId: ID!
destinationWarehouseId: ID!
lineItems: [CreateStockRelocationOrderLineItemInput!]!
release: Boolean!
}

Fields​

CreateStockRelocationOrderInput.sourceWarehouseId ● ID! non-null scalar​

ID of the warehouse the stock is picked from.

CreateStockRelocationOrderInput.destinationWarehouseId ● ID! non-null scalar​

ID of the warehouse the stock is stocked into. Must belong to the same location as the source warehouse and must not be decommissioning. It may be the source warehouse when the line items relocate between bin locations; then every line item needs a destinationBinLocationId.

CreateStockRelocationOrderInput.lineItems ● [CreateStockRelocationOrderLineItemInput!]! non-null input​

Line items to relocate. Must be non-empty.

CreateStockRelocationOrderInput.release ● Boolean! non-null scalar​

Releases the stock relocation order for picking right away instead of creating it as Draft. Defaults to false.

Member Of​

createStockRelocationOrder mutation