GraphQL API
Organization API
Organization / Types/ input

PurchaseOrderCreateInput

Input for creating a purchase order

Input fields

3 fields
currency•String!

ISO 4217 currency code

value•String!

Amount

productId•ID

ID of the product that is ordered

quantityOrdered•Int

Quantity that is ordered

sellAhead•IntDefault: 0

Quantity to allow pre-orders for this product

reference•String

Reference of the order

supplierId•ID

ID of the supplier