SparePartsResponse
Paginated response containing spare parts search results.
Provides a structured response for spare parts queries including the matching items, pagination metadata, and filtering information for building user interfaces with navigation controls.
type SparePartsResponse {
items: [SparePart!]!
itemsFound: Int!
offset: Int!
page: Int!
pages: Int!
start: Int!
end: Int!
minPrice: Int!
maxPrice: Int!
filters: [AttributeFilter!]
}
Fields
SparePartsResponse.items
● [SparePart!]!
non-null object
Collection of spare parts matching the search criteria.
Array of spare part entities that match the applied filters and search parameters, ordered according to the specified sorting criteria.
SparePartsResponse.itemsFound
● Int!
non-null scalar
Total number of spare parts found across all pages.
Complete count of spare parts that match the search criteria, regardless of pagination limits. Used for calculating total pages and displaying result counts.
SparePartsResponse.offset
● Int!
non-null scalar
Number of items displayed per page.
Maximum number of spare parts returned in a single page of results. Used for pagination controls and determining page boundaries.
SparePartsResponse.page
● Int!
non-null scalar
Current page number in the result set.
One-based page number indicating which page of results is currently being displayed. Used for pagination navigation and result positioning.
SparePartsResponse.pages
● Int!
non-null scalar
Total number of pages available.
Calculated value representing the total number of pages needed to display all matching spare parts based on the current page size.
SparePartsResponse.start
● Int!
non-null scalar
Starting position of items on the current page.
One-based index of the first item displayed on the current page within the complete result set.
SparePartsResponse.end
● Int!
non-null scalar
Ending position of items on the current page.
One-based index of the last item displayed on the current page within the complete result set.
SparePartsResponse.minPrice
● Int!
non-null scalar
The lowest price of a product in this productlist
SparePartsResponse.maxPrice
● Int!
non-null scalar
The highest price of a product in this productlist
SparePartsResponse.filters
● [AttributeFilter!]
list object
Member Of
SparePartsMachine
object