Skip to main content

PROMOTION

A promotion of an event changed: it was created, edited, activated or deactivated.

Header
ob-event: PROMOTION
Subscribe with
PROMOTION_UPDATE
Sent to
The entity that owns the event.

Actions​

UPDATE
The promotion changed.

Payload​

eventstring
Always PROMOTION.
actionstring
Always UPDATE.
promotionIdinteger
The promotion that changed.
eventIdinteger
When relevantEvent of the promotion.
sessionIdinteger
When relevantSession of the promotion.
promotionActiveboolean
Whether the promotion is active after the change.
ob-action: UPDATE
{
"event" : "PROMOTION",
"action" : "UPDATE",
"eventId" : 12345,
"sessionId" : 2408895,
"promotionId" : 555,
"promotionActive" : false
}