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 common​

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

supplyPOEvents.before ● String scalar common​

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

supplyPOEvents.filters ● POEventFilterInput input purchase-orders​

supplyPOEvents.first ● Int scalar common​

Returns the first _n_ elements from the list.

supplyPOEvents.last ● Int scalar common​

Returns the last _n_ elements from the list.

supplyPOEvents.milestoneId ● ID scalar common​

supplyPOEvents.poId ● ID! non-null scalar common​

supplyPOEvents.sortField ● POEventSortFieldEnum enum purchase-orders​

supplyPOEvents.sortOrder ● SortTypeEnum enum common​

Type​

POEventConnection object common​

The connection type for POEvent.