Skip to main content
The Recommendations API powers recommendation widgets on your ecommerce site — showing users products they are likely to be interested in based on browsing history, cart contents, current page context, and user identity. Version: v1

Base URL

Supported zones: eu1, us1, ap1

Authentication

The Recommendations API does not use an Authorization header. Instead, the widget ID (a UUID configured in the Admin Panel) acts as the access credential and is passed in the URL path.

How It Works

1

Create a carousel in Admin Panel

Go to Recommendations and click Add Carousel. Each carousel has a widget_id (UUID) that you use in the API.
2

Call the API on page load

POST to /api/widget/{widget_id} with context about the current page and user.
3

Render the results

The response contains a results array of product recommendations and currency formatting details.

Endpoint

Request body

Response


Request Parameters


Recommendation Types

The widget type configured in the Admin Panel determines what signals drive the recommendations:
If the required signals are not provided for a recommendation type, the API falls back to a default strategy (if fallback is enabled for the widget). If no fallback is configured, an empty results array is returned.

CORS

If your ecommerce site uses CORS, ensure the domain making the request is in your store’s Allowed Domains list in the Admin Panel. Requests from unlisted domains return 403 Forbidden Origin.

Error Responses