Skip to main content

supplyPONotes

Retrieves purchase order notes with filtering and sorting capabilities.

Authentication

Authentication is required. Unauthenticated requests will fail.

Permissions

Requires supply:read_po_notes 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
supplyPONotes(
after: String
before: String
filters: PONoteFilterInput
first: Int
last: Int
poId: ID!
sortField: POEventSortFieldEnum = CREATED_AT
sortOrder: SortTypeEnum = DESC
): PONoteConnection!

Arguments

supplyPONotes.after ● String scalar

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

supplyPONotes.before ● String scalar

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

supplyPONotes.filters ● PONoteFilterInput input

supplyPONotes.first ● Int scalar

Returns the first _n_ elements from the list.

supplyPONotes.last ● Int scalar

Returns the last _n_ elements from the list.

supplyPONotes.poId ● ID! non-null scalar

supplyPONotes.sortField ● POEventSortFieldEnum enum

supplyPONotes.sortOrder ● SortTypeEnum enum

Type

PONoteConnection object

The connection type for PONote.