Getting a product list
To retrieve a list of products, make a request to the following endpoint:
https://client.experiences.get-potions.com/v1/{siteId}/recos/{recommendationsId}
Required Information
Site ID
API Key
Recommendations ID:
This ID is specific to each location.
You can find it on the platform under Personalized Recommendations or E-merchandising.
Quickstart
Retrieving a product list requires just a few lines of code. Below are examples in several programming languages.
Endpoint Options
GET Method:
Ideal for simple requests.
POST Method:
Not RESTful but allows all parameters to be sent in the request body, which can be more convenient in some cases.
Examples
Examples are available for the following languages:
Python
JavaScript
Curl
The examples are configured for a demo shop but can be adapted with your own Site ID, API Key, and Recommendations ID.
Technical Documentation
For in-depth information, explore our API via the Swagger documentation:
Click on the “Authorize” button.
Enter your API Key to access and try out all endpoints.
Was this helpful?