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

  1. Site ID

  2. API Key

  3. 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

  1. GET Method:

    • Ideal for simple requests.

  2. 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:

  1. Click on the “Authorize” button.

  2. Enter your API Key to access and try out all endpoints.

Last updated

Was this helpful?