Skip to main content

supplyPOEvents

Retrieves purchase order events with filtering and sorting capabilities.

Authentication

Authentication is required. Unauthenticated requests will fail.

Permissions

Requires supply:read_po_events permission for the purchase order's brand.

Possible Errors

  • Authentication error if not logged in
  • Permission error if lacking access to the purchase order's brand
  • Not found error if purchase order doesn't exist
supplyPOEvents(
after: String
before: String
filters: POEventFilterInput
first: Int
last: Int
milestoneId: ID
poId: ID!
sortField: POEventSortFieldEnum = CREATED_AT
sortOrder: SortTypeEnum = DESC
): POEventConnection!

Arguments

supplyPOEvents.after ● String scalar

Returns the elements in the list that come after the specified cursor.

supplyPOEvents.before ● String scalar

Returns the elements in the list that come before the specified cursor.

supplyPOEvents.filters ● POEventFilterInput input

supplyPOEvents.first ● Int scalar

Returns the first _n_ elements from the list.

supplyPOEvents.last ● Int scalar

Returns the last _n_ elements from the list.

supplyPOEvents.milestoneId ● ID scalar

supplyPOEvents.poId ● ID! non-null scalar

supplyPOEvents.sortField ● POEventSortFieldEnum enum

supplyPOEvents.sortOrder ● SortTypeEnum enum

Type

POEventConnection object

The connection type for POEvent.