Skip to main content

CreateSupplierOrderInput

Header and line items for createSupplierOrder.

input CreateSupplierOrderInput {
supplierId: ID!
lineItems: [CreateSupplierOrderLineItemInput!]!
currencyId: ID
}

Fields​

CreateSupplierOrderInput.supplierId ● ID! non-null scalar​

ID of the supplier the order is raised against.

CreateSupplierOrderInput.lineItems ● [CreateSupplierOrderLineItemInput!]! non-null input​

Line items to include on the order. May be empty, which creates an empty order to add line items to with addSupplierOrderLineItem.

CreateSupplierOrderInput.currencyId ● ID scalar​

ID of the currency to raise the order in when it differs from the supplier's currency. A unitPrice is taken in this currency, and the purchase price of a line item without one is converted into it at the current exchange rate.

Member Of​

createSupplierOrder mutation