Skip to main content

POFilterInput

Filter options for purchase orders query.

Performs fuzzy search across PO number and line item SKUs. Supports exact UUID matching for order ID.

input POFilterInput {
approvedBy: [ID!]
brand: [ID!] @deprecated
closedAt: DateRangeInput
confirmedDate: DateRangeInput
contactId: [ID!]
costAllocationStatus: [POCostAllocationStatusEnum!]
createdAt: DateRangeInput
createdBy: [ID!]
deliveredDate: DateRangeInput
expectedDate: DateRangeInput
financialStatus: [POFinancialStatusEnum!]
hasUnshippedItems: Boolean
isApproved: Boolean
isClosed: Boolean
isConfirmed: Boolean
issueDate: DateRangeInput
keyword: String
milestoneName: [POMilestoneEnum!]
paymentDueDate: DateRangeInput
poNumber: [String!]
shipDate: DateRangeInput
statusName: [POStatusEnum!]
supplierId: [ID!]
}

Fields

POFilterInput.approvedBy ● [ID!] list scalar common

Filter by one or more party IDs who approved the purchase orders

POFilterInput.brand ● [ID!] deprecated list scalar common

DEPRECATED

This argument will be removed in the future. Brand is becoming a product-only attribute. Use company context instead.

Filter by one or more brand IDs.

POFilterInput.closedAt ● DateRangeInput input common

Filter purchase orders by closed date range

POFilterInput.confirmedDate ● DateRangeInput input common

Filter purchase orders by confirmed date range

POFilterInput.contactId ● [ID!] list scalar common

Filter by one or more supplier contact IDs

POFilterInput.costAllocationStatus ● [POCostAllocationStatusEnum!] list enum purchase-orders

Filter purchase orders by cost allocation status

POFilterInput.createdAt ● DateRangeInput input common

Filter purchase orders by created date

POFilterInput.createdBy ● [ID!] list scalar common

Filter by one or more party IDs who created the purchase orders

POFilterInput.deliveredDate ● DateRangeInput input common

Filter purchase orders by delivered date range

POFilterInput.expectedDate ● DateRangeInput input common

Filter purchase orders by expected delivery date range

POFilterInput.financialStatus ● [POFinancialStatusEnum!] list enum purchase-orders

Filter purchase orders by financial status

POFilterInput.hasUnshippedItems ● Boolean scalar common

Filter by whether purchase orders have quantities not yet assigned to shipments

POFilterInput.isApproved ● Boolean scalar common

Filter by whether purchase orders have been approved

POFilterInput.isClosed ● Boolean scalar common

Filter by whether purchase orders have been closed

POFilterInput.isConfirmed ● Boolean scalar common

Filter by whether purchase orders have been confirmed

POFilterInput.issueDate ● DateRangeInput input common

Filter purchase orders by issue date range

POFilterInput.keyword ● String scalar common

Keyword search across PO ID, PO number, and line item SKUs

POFilterInput.milestoneName ● [POMilestoneEnum!] list enum purchase-orders

Filter purchase orders by milestone

POFilterInput.paymentDueDate ● DateRangeInput input common

Filter purchase orders by payment due date range

POFilterInput.poNumber ● [String!] list scalar common

Filter by one or more specific PO numbers

POFilterInput.shipDate ● DateRangeInput input common

Filter purchase orders by ship date range

POFilterInput.statusName ● [POStatusEnum!] list enum purchase-orders

Filter purchase orders by status

POFilterInput.supplierId ● [ID!] list scalar common

Filter by one or more supplier IDs

Member Of

supplyPurchaseOrders query