OBJECT

SearchResult

The return type for the search query

link GraphQL Schema definition

  • type SearchResult {
  • # Convenience - echo the search params to the user
  • searchParams: SearchResultParams!
  • # Suggested sort options (site-specific), an inexaustive list, matching those
  • # displayed to user
  • suggestedSorts: [SortSpec]
  • # Return the common root folder for returned products.
  • folder: Folder
  • # Return a list of folders (groups) under which there are matching products along
  • # with product count and refinement options
  • folders: [SearchResultGroup!]
  • # List of products returned by the search
  • products: [Product!]
  • }