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 supplier orders to associate the receipt with. Pair with each line's supplierOrderId for line-level attribution.
Member Of
createGoodsReceipt mutation