Skip to main content

AddSupplierOrderLineItemInput

Input for addSupplierOrderLineItem. Adds a single line item to an existing supplier order; the line is identified by the supplier-order + product-supplier-configuration pair.

input AddSupplierOrderLineItemInput {
supplierOrderId: ID!
productSupplierConfigurationId: ID!
quantity: Int!
unitPrice: Float
}

Fields​

AddSupplierOrderLineItemInput.supplierOrderId ● ID! non-null scalar​

ID of the supplier order to add to.

AddSupplierOrderLineItemInput.productSupplierConfigurationId ● ID! non-null scalar​

ID of the (product, supplier) configuration whose product the line item references.

AddSupplierOrderLineItemInput.quantity ● Int! non-null scalar​

Number of units to order for this line.

AddSupplierOrderLineItemInput.unitPrice ● Float scalar​

Net price per unit in the supplier order's currency. Omit to use the purchase price the supplier configuration holds in that currency, or 0 when it holds none. Purchase prices are maintained in the supplier's currency (ProductSupplierConfiguration.purchasePrices), so pass the price for an order in another currency.

Member Of​

addSupplierOrderLineItem mutation