The Guest APIs are designed for use on the frontend and can be utilized to construct your own UI elements, such as the loyalty dashboard.
To enable the use of the API from the frontend, authentication is based on partner ID. Unlike the UI APIs, Guest APIs will only fetch basic program details.
Before commencing the use of the Guest API, it is imperative to grant access to the origin. To achieve this, you must provide the origin URL within the CORS settings located in the Admin Console.
To navigate to these settings, please follow these steps:
- Access the Admin Console.
- Navigate to the "General" section.
- Select "Settings."
- Find "CORS Settings."
- Add the origin URL.
You have the option to specify multiple domains by separating them with commas without any space.
Once the necessary domains have been configured, please remember to save your changes.