GraphQL API
Organization API
Organization / Types/ object

PurchaseOrderConnection

A paginated list of PurchaseOrder edges.

Fields

2 fields
cursor•String!

A unique cursor that can be used for pagination.

createdAt•DateTimeTz!

When the order was created.

Events related to this purchase order

expectedDeliveryAt•Date

The earliest expected delivery date on a linked goods receipt.

goodsReceipts•GoodsReceiptConnection!

Goods receipts linked to this purchase order

id•ID!

Unique primary key.

isUpdatable•Boolean!

Whether this purchase order can be updated.

itemsCount•Int!

Number of items ordered in this purchase order.

Order lines

productsCount•Int!

Number of products in this purchase order.

reference•String

Reference of the order

Status of the order

CANCELEDCOMPLETEDCREATEDEXPECTEDORDEREDRECEIVEDRECEIVING
supplier•Supplier

Supplier of the order

Support tickets linked to this purchase order

updatedAt•DateTimeTz!

When the order was last updated.

endCursor•String

The cursor to continue paginating forwards.

hasNextPage•Boolean!

When paginating forwards, are there more items?

hasPreviousPage•Boolean!

When paginating backwards, are there more items?

startCursor•String

The cursor to continue paginating backwards.