WD API
Integration options
Two ways to show an Impel Merchandising widget on your site.
Option 1: embed the widget via iframe
Retrieve the widget URL from the API response and embed it in an <iframe> element on your website.
- You are responsible for applying appropriate styles to the iframe, including width and height.
- The widget automatically resizes within the iframe bounds.
- Widget templates are served via a globally available CDN.
- You can customize the widget's appearance and behavior with URL parameters.
Option 2: display images directly
Retrieve image URLs from the API response and embed them using <img> elements.
- You are responsible for styling the images.
- Image URLs are served via a globally available CDN.
- You may use the URLs directly, or download the images and serve them through your own CDN.