Retrieving all offers for a specific point of promotion
Learn how to get all offers for a specific point of promotion (POP).
You can retrieve all offers for a specific point of promotion (POP) by submitting a GET /shoppers/me/products/point-of-promotions/{popName}/offers
request. A successful request returns a 200 OK response
.
The retrieved offers include:
All always-triggered offers
All promotional URLs and externally triggered offers, even if an offer is not triggered
The retrieved offers do not include coupon code offers, even if a coupon code offer has been triggered.
curl --location --request GET
'https://api.digitalriver.com/shoppers/me/point-of-promotions/{popName}/offers' \
--header 'Authorization: Bearer <API_key>' \
...
{
"offers": {
"uri": "https://api.digitalriver.com/v1/shoppers/me/point-of-promotions/SiteMerchandising_HomePageStoreSpecials/offers",
"offer": [
{
"uri": "https://api.digitalriver.com/v1/shoppers/me/offers/154344709",
"name": "Home Page Security & Backup Recovery Features",
"trigger": "Always Triggered",
"productOffers": {
"uri": "https://api.digitalriver.com/v1/shoppers/me/offers/154344709/product-offers"
},
"categoryOffers": {},
"offerBundleGroups": {}
}
]
}
}