Product Search API
Product discovery over GraphQL for ENAD storefronts — search, facets, autocomplete, and product queries at graphql.enad.io.
Product search is available over GraphQL at https://graphql.enad.io/{app_id}/graphql, where {app_id} is your application identifier. Every query is scoped per request by market, store group, warehouse, and locale.
Domain: https://graphql.enad.io
API reference
Every query, type, and field in the Product Search API, with a playground to run requests.
Browse queries and types
TypeScript client
Typed methods and generated types from @enadhq/enad-ts-sdk/search, so you don’t write queries or types by hand.
Use createSearchClient()
When to use it
It is the read API for storefront product discovery:
- Product listing pages: search with pagination, sorting, and a nested AND/OR filter tree.
- Product detail pages: product by slug or ID, with variants, brands, categories, collections, and series.
- Facets and autocomplete: facet counts for filter UIs and search completions.
It is read-only and needs no API key: requests are scoped by the app_id in the URL path, and browser requests must come from origins in the app’s allowed domains. Catalog changes are made through the Management API and appear here through event-driven indexing.
Indexing
Catalog changes are indexed automatically and typically appear in search results within a few minutes.
Endpoints
GraphQL API
POST https://graphql.enad.io/{app_id}/graphql
Send GraphQL queries to this endpoint. Replace {app_id} with your application (tenant) identifier.
GraphiQL (interactive API explorer)
GET https://graphql.enad.io/{app_id}/graphiql
Open this URL in a browser to explore the schema and run queries against your own app in GraphiQL.
From TypeScript, the search client calls the same endpoint:
import { createSearchClient } from "@enadhq/enad-ts-sdk/search";
const search = createSearchClient({
appId: "APP_ID",
marketSlug: "us",
storeGroupSlug: "store-group-slug",
locale: "en",
});
const { products, pageInfo } = await search.searchProducts({ page: 1, perPage: 24 });