Promotion Details
This endpoint provides dynamic discount information based on various criteria like user location, holidays, etc. It supports both client-side and server-side API calls with different parameter requirements.
Query Parameters
Required for client-side API calls. The browser's current URL (e.g., window.location.href). The API call will only return a response if made from a website configured in the deal for security.
Required for server-side API calls. A unique identifier associated with a particular banner deal.
Required for server-side API calls. The user's IP address.
Optional for server-side API calls. The desired base currency code for the discount information (e.g., EUR).
Response
Successful retrieval of discount information. The response will either contain the discount details or a message indicating that no discounts are available.
The response is of type object
.