Storefront growth for buyers
One eligible consented storefront promotion
Path Parameters
storeId*string
Query Parameters
visitorId*string
Length
8 <= length <= 100locale?string
Length
2 <= length <= 8Default
"en"path?string
Length
length <= 2000Default
"/"country?string
Length
2 <= length <= 2device?string
Default
"desktop"Value in
- "desktop"
- "mobile"
- "tablet"
consent*string
Response Body
application/json
application/json
application/json
curl -X GET "https://example.com/v1/public/stores/string/promotions/eligible?visitorId=stringst&consent=true"{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "mode": "content", "presentation": "modal", "title": "string", "body": "string", "actionLabel": "string", "actionUrl": "string", "couponCode": "string", "couponRemaining": -9007199254740991, "trigger": "delay", "delaySeconds": -9007199254740991, "gameRewardReady": true}