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

Per-unit price override in the supplier order's currency. Omit to use the default from the supplier configuration.

Member Of

addSupplierOrderLineItem mutation