Skip to main content

AppCreatePurchaseOrderInput

A new DRAFT purchase order. Tax, totals, currency, rate and dates are set by the server, and a person approves it.

input AppCreatePurchaseOrderInput {
lines: [AppPurchaseOrderLineInput!]!
notes: String
paymentTerms: String
supplierId: ID!
warehouseId: ID
}

Fields​

AppCreatePurchaseOrderInput.lines ● [AppPurchaseOrderLineInput!]! non-null input​

The lines: at least 1, at most 200.

AppCreatePurchaseOrderInput.notes ● String scalar​

Notes for the supplier.

AppCreatePurchaseOrderInput.paymentTerms ● String scalar​

A payment term code the organization offers, such as NET_30. Without it the supplier's own term, else the organization's default, applies.

AppCreatePurchaseOrderInput.supplierId ● ID! non-null scalar​

The ID of the supplier.

AppCreatePurchaseOrderInput.warehouseId ● ID scalar​

The ID of the warehouse the goods should arrive at.

Member Of​

appCreatePurchaseOrder mutation