Skip to main content

createStockRelocationOrder

Creates a stock relocation order of type ApiRelocation with the given line items, as Draft unless release is set. The quantities are taken as requested, even when the source holds less stock.

Required scopes​

The token needs the stock_relocation_orders:write access scope.

createStockRelocationOrder(
input: CreateStockRelocationOrderInput!
): StockRelocationOrder!

Arguments​

createStockRelocationOrder.input ● CreateStockRelocationOrderInput! non-null input​

Type​

StockRelocationOrder object​

An order to move stock of products within one location, from a source warehouse or bin location to a destination warehouse or bin location, for example to replenish a picking zone from a reserve zone. Releasing the order hands it to picking; the picked stock is then stocked into the destination.