AddGoodsReceiptLineItemInput
Input for addGoodsReceiptLineItem. Adds a single line item to a goods receipt that is still in draft or created state.
input AddGoodsReceiptLineItemInput {
goodsReceiptId: ID!
productId: ID!
quantity: Int!
unitPrice: Float!
batchId: ID
}
Fields
AddGoodsReceiptLineItemInput.goodsReceiptId ● ID! non-null scalar
ID of the goods receipt to add the line item to.
AddGoodsReceiptLineItemInput.productId ● ID! non-null scalar
ID of the product being received. Must not be the parent of a variant set.
AddGoodsReceiptLineItemInput.quantity ● Int! non-null scalar
Number of units to book. Must be positive.
AddGoodsReceiptLineItemInput.unitPrice ● Float! non-null scalar
Per-unit net price booked against this line, in the receipt's currency.
AddGoodsReceiptLineItemInput.batchId ● ID scalar
ID of the batch the units belong to, when batch tracking is enabled for the product.
Member Of
addGoodsReceiptLineItem mutation