Public recommendations API
In case you don't want our widget but need to gather our recommendations to use them for your own purposes, you can do it via API through the following endpoint:
https://cdn.codeblackbelt.com/public/api/v1/frequently-bought-together?productId=<productId>&shop=<shop_domain> Example: https://cdn.codeblackbelt.com/public/api/v1/frequently-bought-together?productId=2288305471584&shop=my-store.myshopify.com
where productId is the Shopify product numeric ID for which you need to gather the recommendations, and shop_domain is your shop myshopify.com domain.
The response includes ID and handle of the recommended products, according to your configured preferences:

Some considerations you may need to take into account to use this API:
- An active subscription is required.
- We offer a maximum quota of 60 requests per minute. In case it is exceeded, a 429 Too many requests error response is sent.