Skip to main content

SupplierFilterInput

Filter options for suppliers query.

Provides comprehensive filtering capabilities for efficient supplier management and search across multiple supplier attributes.

input SupplierFilterInput {
brandId: [ID!] @deprecated
category: [String!]
keyword: String
leadTime: IntegerRangeInput
location: String
onTimeDelivery: DecimalRangeInput
qualityRating: DecimalRangeInput
sortField: SupplySupplierSortFieldEnum
sortOrder: SortTypeEnum
status: [SupplySupplierStatusEnum!]
yearEstablished: IntegerRangeInput
}

Fields

SupplierFilterInput.brandId ● [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.

SupplierFilterInput.category ● [String!] list scalar common

Filter by supplier category or type

SupplierFilterInput.keyword ● String scalar common

Keyword search across supplier name, email, location, and category

SupplierFilterInput.leadTime ● IntegerRangeInput input common

Filter suppliers by lead time range in days

SupplierFilterInput.location ● String scalar common

Filter by supplier location

SupplierFilterInput.onTimeDelivery ● DecimalRangeInput input common

Filter suppliers by on-time delivery percentage range (0-100)

SupplierFilterInput.qualityRating ● DecimalRangeInput input common

Filter suppliers by quality rating range (0-10 scale)

SupplierFilterInput.sortField ● SupplySupplierSortFieldEnum enum suppliers

Field to sort suppliers by

SupplierFilterInput.sortOrder ● SortTypeEnum enum common

Sort direction - ASC for ascending, DESC for descending

SupplierFilterInput.status ● [SupplySupplierStatusEnum!] list enum suppliers

Filter suppliers by status

SupplierFilterInput.yearEstablished ● IntegerRangeInput input common

Filter suppliers by establishment year range

Member Of

supplySuppliers query