Required SPARQUE Desk Endpoints

Note that any of the listed parameters are optional when defining the endpoints. If you do not require a specific parameter for the underlying strategy, there is no need to define the parameter in the API endpoint.

Non-Stacked Endpoints

EndpointParametersOutputLevelWrapper EndpointComments
attributes
  • sku (string)
OBJ-
  • /product-attributes
  • Returns a list of property values of a product
brandsuggest
  • keyword (string)
  • channel (string)
STRING-
  • /suggestions
  • Returns a list of brand names for search suggestions
  • Only required if Brand Suggestions are enabled via the corresponding SPARQUE Hub setting
categorysuggest
  • keyword (string)
  • channel (string)
  • locale (string)
OBJ2
  • /health-check
  • /suggestions
  • Returns a list of categories for search suggestions
  • Level 2 to include parents if needed
  • Only required if Category Suggestions are enabled and Search Personalization is disabled via the corresponding SPARQUE Hub settings when calling the /suggestions endpoint
  • Only required for the /health-check endpoint if the parameter ShouldRunExtendedTest is enabled. Only the response code is verified during this process.
categorytree
  • channel (string)
OBJ2
  • /categorytree
  • /health-check
  • Returns a list of categories with their parents. The Wrapper uses this to build the category tree.
  • Level 2 to include parents if needed
  • Only required for the /health-check endpoint if the parameter ShouldRunExtendedTest is enabled. Only the HTTP response code is verified during this process.
contentsuggest
  • keyword (string)
OBJ-
  • /suggestions
  • Returns a list of content elements for search suggestions
  • Only required if Content Suggestions are enabled via the corresponding SPARQUE Hub setting.
fixedFacets
  • channel (string)
OBJ-
  • /facet-options
  • /health-check
  • /products
  • /search
  • Returns a list of fixed facet groups
  • Only required if the SPARQUE Hub setting Fixed Facets is enabled when calling the /facet-options, /products and /search endpoints.
  • Only required for the /health-check endpoint if the parameter ShouldRunExtendedTest is enabled. Only the HTTP response code is verified during this process.
health_check-OBJ-
  • /health-check
  • Customize this to fit your needs
  • The result is not evaluated, only the HTTP status code and the response time are relevant for the health check.
keywordsuggest
  • keyword (string)
  • channel (string)
  • locale (string)
STRING-
  • /suggestions
  • /health-check
  • Returns a list of suggested search terms
  • Only required if Keyword Suggestions are enabled and Search Personalization is disabled via the corresponding SPARQUE Hub settings when calling the /suggestions endpoint.
  • Only required for the /health-check endpoint if the parameter ShouldRunExtendedTest is enabled. Only the HTTP response code is verified during this process.
pdp
  • channel (string)
  • sku (string)
OBJ5
  • /product
  • Returns a product
  • Level 5 to return more details
products
  • user (string)
  • channel (string)
  • cartId (tuple_list)
OBJ-
  • /categorytree
  • /health-check
  • /products
  • /suggestions
  • Returns a list of products
  • Only required if Search Personalization is enabled via the corresponding SPARQUE Hub setting when calling the /categorytree endpoint.
  • Only required if Keyword or Category Suggestions as well as Search Personalization are enabled via the corresponding SPARQUE Hub settings when calling the /suggestions endpoint.
  • Only required for the /health-check endpoint if the parameter ShouldRunExtendedTest is enabled. Only the HTTP response code is verified during this process.
productsuggest
  • keyword (string)
  • channel (string)
  • locale (string)
OBJ-
  • /health-check
  • /suggestions
  • Returns a list of products
  • Only required if Product Suggestions are enabled via the corresponding SPARQUE Hub setting when calling the /suggestions endpoint
  • Only required for the /health-check endpoint if the parameter ShouldRunExtendedTest is enabled. Only the HTTP response code is verified during this process
recommendations
  • locale (string)
OBJ-
  • /config
  • Returns a list of recommendation endpoints available in SPARQUE.AI
redirects
  • channel (string)
OBJ-
  • /products
  • /search
  • Returns a list of redirects
search
  • keyword (string)
  • channel (string)
  • cartId (tuple_list)
OBJ-
  • /facet-options
  • /health-check
  • /search
  • Returns a list of products
  • Only required for the /health-check endpoint if the parameter ShouldRunExtendedTest is enabled. Only the HTTP response code is verified during this process
sortings
  • channel (string)
  • locale (string)
OBJ, STRING-
  • /config
  • /health-check
  • /products
  • /search
  • Returns a list of sortings and their localized name
  • Only required for the /health-check endpoint if the parameter ShouldRunExtendedTest is enabled. Only the HTTP response code is verified during this process
variation_attributes
  • sku (tuple_list)
OBJ,OBJ,OBJ-
  • /product
  • /products
  • /search
  • Returns a list of triples, each consisting of the master product (by SKU), a related variant product, and the variant’s value for a specific variant attribute
  • Only required for the /products and /search endpoints if the parameter ReturnVariantAttributes is enabled or not provided.

Stacked Endpoints

or OBJ,DOUBLE-
  • /products
  • /search
EndpointInputParametersOutputLevelWrapper EndpointComments
boostOBJ-OBJ-
  • /facet-options
  • /products
  • /recommendations
  • /search
  • /suggestions
  • Requires a list of products as input and will return a list of products. Can be used to manipulate the product list or change the scoring of individual products.
  • Only required if boosting is enabled via the corresponding SPARQUE Hub setting
  • Only required if Product Suggestions are enabled via the corresponding SPARQUE Hub setting when calling the /suggestions endpoint
{fixedFacetName}; e.g.: brandOBJ
  • user (string)
STRING,DOUBLE