Skip to main content

updateGoodsReceiptWarehouse

Changes the warehouse the goods are booked into and re-snapshots it on the receipt. Rejected once the goods receipt is part of a stock valuation report. Returns the updated goods receipt.

Required scopes​

The token needs the goods_receipts:write access scope.

updateGoodsReceiptWarehouse(
id: ID!
warehouseId: ID!
): GoodsReceipt!

Arguments​

updateGoodsReceiptWarehouse.id ● ID! non-null scalar​

ID of the goods receipt to update.

updateGoodsReceiptWarehouse.warehouseId ● ID! non-null scalar​

ID of the warehouse the goods are booked into from now on.

Type​

GoodsReceipt object​

An incoming or outgoing goods movement booked against a warehouse — supplier receipt, return-from-customer, manual stock correction. Carries the per-line quantities and prices that are posted to stock once the receipt is completed.