SparePartsResponse
Paginated response containing spare parts search results with price filtering and attribute aggregation.
type SparePartsResponse {
items: [SparePart!]!
itemsFound: Int!
offset: Int!
page: Int!
pages: Int!
start: Int!
end: Int!
minPrice: Int!
maxPrice: Int!
filters(input: FilterAvailableAttributeInput): [AttributeFilter!]
}
Fields
SparePartsResponse.items ● [SparePart!]! non-null object
Collection of spare parts matching the search criteria.
SparePartsResponse.itemsFound ● Int! non-null scalar
Total number of spare parts found across all pages.
SparePartsResponse.offset ● Int! non-null scalar
Number of items displayed per page.
SparePartsResponse.page ● Int! non-null scalar
Current page number in the result set.
SparePartsResponse.pages ● Int! non-null scalar
Total number of pages available.
SparePartsResponse.start ● Int! non-null scalar
Starting position of items on the current page.
SparePartsResponse.end ● Int! non-null scalar
Ending position of items on the current page.
SparePartsResponse.minPrice ● Int! non-null scalar
The lowest price of a product in this product list.
SparePartsResponse.maxPrice ● Int! non-null scalar
The highest price of a product in this product list.
SparePartsResponse.filters ● [AttributeFilter!] list object
Available attribute filters for faceted search over spare parts.
The input argument is read from the GraphQL resolve info in the upstream resolver via ProductSearchResolveInfoHelper. When present, it takes precedence over the legacy filters field on SparePartsMachineProductSearchInput.
SparePartsResponse.filters.input ● FilterAvailableAttributeInput input
Filter configuration for determining available attributes.
Member Of
SparePartsMachine object