Storefront growth for buyers

One eligible consented storefront promotion

GET
/v1/public/stores/{storeId}/promotions/eligible

Path Parameters

storeId*string

Query Parameters

visitorId*string
Length8 <= length <= 100
locale?string
Length2 <= length <= 8
Default"en"
path?string
Lengthlength <= 2000
Default"/"
country?string
Length2 <= length <= 2
device?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}