 
       productsService.where(query.where) if query.where
 
-    uri: productsService.build()
-    method: 'GET'
+      uri: productsService.build()
+      method: 'GET'
+    else
+      productsService.where(customWherePredicate) if customWherePredicate
+
+      uri: productsService.build()
+      method: 'GET'
 
   _fetchResources: =>
     data = [

    query.where = if query.where then query.where + " AND "+predicate else predicate
    query

  _stringifyQueryString: (query) ->
    decodeURIComponent(queryStringParser.stringify(query))

  # return the correct product service in case query string is used or not
  _getProductService: (staged = true, customWherePredicate = false) ->
    productsService = createRequestBuilder({@projectKey})

        host: @options.authConfig.host
        projectKey: @projectKey
        credentials: @options.authConfig.credentials
      createUserAgentMiddleware @options.userAgentConfig
      createHttpMiddleware @options.httpConfig
    ])
