Skip to main content

Promotion Usage



Promotion has a fixed start date and end date, and during its validity period, there are certain number of products on which a promotion is applicable. Get notified on the quantity of products ordered by your customer during the promotional period.

Supported Type

  • Update



Object Properties

promotion_usage.promotion_idStringID of the promotion
promotion_usage.app_idStringID of the application (sales channel) where promotion is used
promotion_usage.order_quantity.<item_id>IntegerShows the quantity of products ordered by your customers during the promotional period
promotion_usage.user_idStringUser's _id for which promotion usage count event is triggered
promotion_usage.usage_countIntegerTotal order count for current user during the promotional period
promotion_usage._versionIntegerDocument version key. Since event throughput is high, event generation order might be different and latest event might get triggered first. Doc version can be used to discard old event data.