palbaseDocs

Palbase Commerce & Promotions · API

GET/commerce/catalog/suggest

Autocomplete suggestions for products, categories, and brands

Return fast prefix and trigram autocomplete suggestions across active products (with Buy Box price and primary media), categories, and brands.

Called by your app, with the publishable key; or a signed-in user of your app, with their token and the publishable key; or your server, with the project's secret key.

Query

qstring · optionalPartial search prefix or typo-tolerant query string.
max_resultsinteger · optionalMaximum number of suggestions per group (default 8, values <=0 default to 8, values >20 are clamped to 20).
channelstring · optionalOptional sales channel key.
regionstring · optionalOptional region key.
currencystring · optionalOptional ISO 4217 currency code.
curl
curl -X GET "https://<your-ref>.palbase.studio/commerce/catalog/suggest" \
  -H "apikey: $PALBASE_SECRET_KEY"

Responses

200Autocomplete suggestions

defaultStandard Palbase JSON error envelope (`error` and `error_description`).

Operation StorefrontSuggest of commerce's contract.