Skip to main content

removeGoodsReceiptLineItem

Removes a single line item from a goods receipt. Only free goods receipts (those without a supplier order or return order origin) in draft or created state accept line item writes; anything else is rejected. Returns the updated goods receipt.

Required scopes​

The token needs the goods_receipts:write access scope.

removeGoodsReceiptLineItem(
id: ID!
): GoodsReceipt!

Arguments​

removeGoodsReceiptLineItem.id ● ID! non-null scalar​

ID of the line item to remove.

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.