Use this StackBlitz project to explore Relewise requests with live code on the left and an interactive runner on the right.
https://stackblitz.com/~/github.com/Relewise/relewise-code-playground-ts
- The editor (left) shows the source code, and the preview (right) contains the playground UI.
- In the file tree, duplicate
.env.exampleto.envand paste your dataset values for:VITE_DATASET_IDVITE_API_KEYVITE_SERVER_URL
- Save the file—these become the defaults the playground uses whenever a field in the UI is blank.
- Browse
src/examples/and open the scenario you want to try (for example,product-view-tracking.tsorsort-products.ts). - Edit any request parameters or code you need. StackBlitz hot-reloads instantly, so you can iterate quickly.
- In the right-hand panel, choose the same example from the dropdown so the UI runs the code you just edited.
- Click Run to execute the example with the credentials and parameters currently shown in the UI.
- The playground sends the request to Relewise and renders the raw JSON response in the results box below the controls.
- Adjust your code or form values and click Run again to compare outputs—each run replaces the contents of the response box so you always see the latest data.