To get a product list, you need to call the endpoint https://client.experiences.get-potions.com/v1/{siteId}/experience/{experienceId} with these informations :
  • Site ID
  • API key
  • Experience ID
The experience ID will change for every location, you can find it in the Lab either in Personalized Recommendations or in E-merchandizing.

Quickstart

All it takes is a few lines of code to call the API to retrieve your first list of products. Below you'll find examples in several programming languages.
This endpoint is available both as GET and as POST, the latter is not RESTful but allows to send all parameters in the body of the request, which can be more convenient.
You can try out the examples as they are using our demo shop or adapt them using your own site ID, API key and experience ID.

GET

Python
JavaScript
Curl

POST

Python
JavaScript
Curl

Technical documentation

If you want to dive deeper in our API, you can explore our swagger :
Potions Experiences API - Swagger UI
You need to clic on the “Authorize” button and enter your API key to be able to try all the endpoints.

Powered by Notaku