Skip to main content

CreateGoodsReceiptInput

Input for createGoodsReceipt. Booking goods in is a single-shot operation: the caller declares which products and quantities arrive against the chosen warehouse, optionally linking the receipt to a supplier order.

input CreateGoodsReceiptInput {
warehouseId: ID!
lineItems: [CreateGoodsReceiptLineItemInput!]!
supplierId: ID
supplierOrderIds: [ID!]
}

Fields​

CreateGoodsReceiptInput.warehouseId ● ID! non-null scalar​

ID of the warehouse the goods are booked into.

CreateGoodsReceiptInput.lineItems ● [CreateGoodsReceiptLineItemInput!]! non-null input​

Line items to book. Must be non-empty.

CreateGoodsReceiptInput.supplierId ● ID scalar​

ID of the supplier the receipt is sourced from.

CreateGoodsReceiptInput.supplierOrderIds ● [ID!] list scalar​

IDs of further supplier orders to link the receipt to, beyond those its lines are received against.

Member Of​

createGoodsReceipt mutation