GraphQL API
Organization API
Organization / Purchase orders

purchaseOrderCreate

Create a new purchase order

Arguments

1 argument
priceMoneyInput

Price per item

productIdID

ID of the product that is ordered

quantityOrderedInt

Quantity that is ordered

sellAheadIntDefault: 0

Quantity to allow pre-orders for this product

referenceString

Reference of the order

supplierIdID

ID of the supplier

Possible return

createdAtDateTimeTz!

When the order was created.

expectedDeliveryAtDate

The earliest expected delivery date on a linked goods receipt.

idID!

Unique primary key.

isUpdatableBoolean!

Whether this purchase order can be updated.

itemsCountInt!

Number of items ordered in this purchase order.

productsCountInt!

Number of products in this purchase order.

referenceString

Reference of the order

Status of the order

CANCELEDCOMPLETEDCREATEDEXPECTEDORDEREDRECEIVEDRECEIVING
updatedAtDateTimeTz!

When the order was last updated.

field[String!]
messageString!