Storefront growth for buyers

Record a promotion display or action

POST
/v1/public/stores/{storeId}/promotions/{promotionId}/event

Path Parameters

storeId*string
promotionId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/v1/public/stores/string/promotions/string/event" \  -H "Content-Type: application/json" \  -d '{    "visitorId": "stringst",    "event": "shown",    "consent": true  }'
{  "ok": true}