Skip to main content

CreateSupplierOrderInput

Header and line items for createSupplierOrder. Drafting a supplier order is single-shot: the caller declares which products and quantities the order covers up front.

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

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. Must be non-empty.

Member Of

createSupplierOrder mutation