OBJECT

BrowseResult

QUERY: browse, returns BrowseResult The User would expect to see a list of subfolders or a list of products (possibly both) The query accepts a folder/category path to browse. Top level is '/'

link GraphQL Schema definition

  • type BrowseResult {
  • # Displays the folder we are currently browsing
  • folder: String
  • # If the search returns sub folders, show them here along with the number of
  • # folders
  • folderCount: Int
  • folders: [String!]
  • # If the search returns products, show them here along with the number of
  • # products
  • productCount: Int
  • products: [Product!]
  • }