Loyalty Promotions and Cart Promotions

Loyalty Promotions

A loyalty promotion is a special program within a loyalty program that offers customers additional rewards—such as extra points, coupons, or benefits—on top of the standard loyalty program.

Creating loyalty promotion (promotionCreated)

Notifies when a loyalty promotion is created. An event notification is triggered when a loyalty promotion is created. These event notifications are triggered when a loyalty promotion is created using the UI and the create loyalty promotion API.

{
  "eventName": "promotionCreated",
  "eventId": "8d0bf8c4-d3a8-470f-ae50-083938ff9c80",
  "eventLogId": -1,
  "orgId": 51135,
  "refId": "51135_ec1d48406b1f8c5de151065386521bb2",
  "apiRequestId": "ec1d48406b1f8c5de151065386521bb2",
  "createdAt": 1738242661581,
  "data": {
    "loyaltyProgramId": 2568,
    "promotionId": 2000060,
    "promotionName": "testPromotinfoEN",
    "promotionStartDate": 1736965800000,
    "promotionEndDate": 1740076199999,
    "externalIdentifier": "",
    "type": "CUSTOMER",
    "status": "INACTIVE",
    "sourceType": "UI",
    "description": "cs",
    "customFields": [],
    "linkedEventId": 25,
    "linkedEventName": "TargetCompleted",
    "createdOn": 1738242661418,
    "updatedOn": 904788626831872,
    "updatedBy": 50665423,
    "loyaltyEventId": "ec1d48406b1f8c5de151065386521bb2"
  }
}
ParameterData TypeDescription
eventNameStringName of the event notification
eventIdStringUnique ID generated when the event is triggered
eventLogIdIntegerEvent log ID (initially -1, updated post processing)
orgIdIntegerOrganisation ID where the event occurred
refIdStringInternal reference ID combining org ID and loyalty event ID
apiRequestIdStringUnique identifier for the API request
createdAtLongEpoch timestamp when the event was recorded
dataObjectObject containing promotion details
-loyaltyProgramIdIntegerAssociated loyalty program ID
-promotionIdIntegerUnique ID for the promotion
-promotionNameStringName of the promotion
-promotionStartDateLongPromotion start time (epoch)
-promotionEndDateLongPromotion end time (epoch)
-externalIdentifierStringExternal reference ID (if any)
-typeENUMType of promotion: BILL, LINEITEM, CUSTOMER, RETURN
-statusENUMACTIVE or INACTIVE
-sourceTypeStringOrigin of the promotion: USER_CREATED, UI
-descriptionStringDescription of the promotion
-customFieldsArrayOptional custom field data
-linkedEventIdIntegerID of the associated triggering event
-linkedEventNameStringName of the triggering event
-createdOnLongEpoch timestamp when created
-updatedOnLongEpoch timestamp when updated
-updatedByIntegerID of the user who last updated it
-loyaltyEventIdStringID of the loyalty event tied to this promotion

Updating a loyalty promotion (promotionUpdated)

Notifies when loyalty promotion metadata is updated. An event notification is triggered when a loyalty promotion is updated.

{
  "eventName": "promotionUpdated",
  "eventId": "8d0bf8c4-d3a8-470f-ae50-083938ff9c80",
  "eventLogId": -1,
  "orgId": 51135,
  "refId": "51135_ec1d48406b1f8c5de151065386521bb2",
  "apiRequestId": "ec1d48406b1f8c5de151065386521bb2",
  "createdAt": 1738242661581,
  "data": {
    "loyaltyProgramId": 2568,
    "promotionId": 2000060,
    "promotionName": "testPromotinfoEN",
    "promotionStartDate": 1736965800000,
    "promotionEndDate": 1740076199999,
    "externalIdentifier": "",
    "type": "CUSTOMER",
    "status": "INACTIVE",
    "sourceType": "UI",
    "description": "cs",
    "customFields": [],
    "linkedEventId": 25,
    "linkedEventName": "TargetCompleted",
    "createdOn": 1738242661418,
    "updatedOn": 904788626831872,
    "updatedBy": 50665423,
    "loyaltyEventId": "ec1d48406b1f8c5de151065386521bb2"
  }
}
ParameterData TypeDescription
eventNameStringName of the event notification
eventIdStringUnique ID generated when the event is triggered
eventLogIdIntegerEvent log ID (initially -1, updated post processing)
orgIdIntegerOrganisation ID where the event occurred
refIdStringInternal reference ID combining org ID and loyalty event ID
apiRequestIdStringUnique identifier for the API request
createdAtLongEpoch timestamp when the event was recorded
dataObjectObject containing promotion details
-loyaltyProgramIdIntegerAssociated loyalty program ID
-promotionIdIntegerUnique ID for the promotion
-promotionNameStringName of the promotion
-promotionStartDateLongPromotion start time (epoch)
-promotionEndDateLongPromotion end time (epoch)
-externalIdentifierStringExternal reference ID (if any)
-typeENUMType of promotion: BILL, LINEITEM, CUSTOMER, RETURN
-statusENUMACTIVE or INACTIVE
-sourceTypeStringOrigin of the promotion: USER_CREATED, UI
-descriptionStringDescription of the promotion
-customFieldsArrayOptional custom field data
-linkedEventIdIntegerID of the associated triggering event
-linkedEventNameStringName of the triggering event
-createdOnLongEpoch timestamp when created
-updatedOnLongEpoch timestamp when updated
-updatedByIntegerID of the user who last updated it
-loyaltyEventIdStringID of the loyalty event tied to this promotion

Issuing a loyalty promotion (promotionIssued)

Notifies when a loyalty promotion is issued to a customer or user group. An event notification is triggered when a loyalty promotion is issued.

{
  "eventName": "promotionIssued",
  "data": {
    "customerIdentifiers": {
      "customerId": 423817587,
      "instore": {
        "mobile": "919191920700",
        "email": "[email protected]",
        "cardNumbers": []
      }
    },
    "loyaltyProgramId": 2751,
    "promotionId": 200281,
    "promotionName": "Promo_L",
    "promotionStartDate": "2024-07-01",
    "promotionEndDate": "2024-08-31",
    "promotionIssuedDate": "2024-08-06",
    "promotionIssuedExpiryDate": "2024-08-31",
    "promotionDescription": "Promo_L",
    "pointsOfferType": "GENERIC",
    "customFields": [],
    "issueRestrictions": [
      {
        "limitOn": "CUSTOMER",
        "kpi": "MAX_NUMBER_OF_ISSUALS_PER_CUSTOMER",
        "maxLimit": 100
      }
    ],
    "redemptionRestrictions": [
      {
        "limitOn": "",
        "kpi": "MAX_REDEMPTIONS_PER_EARN_PER_CUSTOMER",
        "restrictionType": "NON_PERIOD_BASED",
        "maxLimit": 3
      }
    ],
    "issualId": 229
  },
  "orgId": 4000070,
  "refId": "4000070_aB8DFsImX7",
  "apiRequestId": "a4849fdcaffd0df64c2d6acbc91ec49b",
  "createdAt": 1722943950142
}
ParameterData TypeDescription
eventNameStringName of the event
dataObjectContains promotion issue details
-customerIdentifiersObjectCustomer identity details
-- customerIdIntegerUnique ID of the customer
-- instoreObjectInstore identifiers
--- mobileStringCustomer’s mobile number
--- emailStringCustomer’s email address
--- cardNumbersArrayLoyalty card numbers
-loyaltyProgramIdIntegerAssociated loyalty program ID
-promotionIdIntegerID of the promotion issued
-promotionNameStringName of the issued promotion
-promotionStartDateStringStart date (YYYY-MM-DD)
-promotionEndDateStringEnd date (YYYY-MM-DD)
-promotionIssuedDateStringDate of issue
-promotionIssuedExpiryDateStringExpiry date of the issued promotion
-promotionDescriptionStringDescription of the promotion
-pointsOfferTypeStringType of points offer (e.g., GENERIC)
-customFieldsArrayOptional custom field data
-issueRestrictionsArrayRestrictions on issuing
-- limitOnStringThe dimension the limit is applied to
-- kpiStringKPI used for the restriction
-- maxLimitIntegerMaximum number of issuances
-redemptionRestrictionsArrayRestrictions on redemption
-- limitOnStringTarget of the restriction
-- kpiStringKPI for the restriction
-- restrictionTypeStringType of restriction
-- maxLimitIntegerMaximum number of redemptions
-issualIdIntegerID of the specific issuance
orgIdIntegerOrganisation ID
refIdStringUnique reference for tracing
apiRequestIdStringUnique ID of the API request
createdAtLongEpoch timestamp of creation

Earned loyalty promotion (promotionEarned)

Notifies when a user has earned a promotion.

{
    "eventName": "promotionEarned",
    "data": {
        "customerIdentifiers": {
            "customerId": 387337123,
            "instore": {
                "mobile": "919191920700",
                "email": "[email protected]",
                "cardNumbers": []
            }
        },
        "loyaltyProgramId": 2845,
        "promotionId": 1133570767,
        "promotionName": "Promo_Loyalty_Earn",
        "promotionStartDate": "2024-07-01",
        "promotionEndDate": "2024-08-31",
        "promotionEarnedDate": "2024-08-06",
        "promotionEarnedExpiryDate": "2024-08-31",
        "promotionDescription": "Promo_Loyalty_Earn",
        "pointsOfferType": "GENERIC",
        "customFields": [],
        "issualId": 2901,
        "earnedId": 2522,
        "earnRestrictions": [
            {
                "limitOn": "CUSTOMER",
                "kpi": "MAX_NUMBER_OF_EARNS_PER_CUSTOMER",
                "maxLimit": 3
            },
            {
                "limitOn": "CUSTOMER",
                "kpi": "MAX_POINTS_PER_EARN_PER_CUSTOMER",
                "maxLimit": -1
            }
        ],
        "redemptionRestrictions": [
            {
                "limitOn": "",
                "kpi": "MAX_REDEMPTIONS_PER_EARN_PER_CUSTOMER",
                "restrictionType": "NON_PERIOD_BASED",
                "maxLimit": 3
            }
        ]
    },
    "orgId": 51538,
    "refId": "51538_X07F0IEo6o",
    "apiRequestId": "b39b47ff9f6dd8cd7c2181a6cc7b12f3",
    "createdAt": 1722944534772
}

Revoke issued loyalty promotion (revokeIssuedPromotion)

Notifies when an issued promotion is revoked.

{
    "eventName": "revokeIssuedPromotion",
    "data": {
        "customerIdentifiers": {
            "customerId": 387337123,
            "instore": {
                "mobile": "919191920700",
                "email": "[email protected]",
                "cardNumbers": []
            }
        },
        "loyaltyProgramId": 2845,
        "promotionId": 1133570767,
        "promotionName": "Promo_Loyalty_Earn",
        "promotionStartDate": "2024-07-01",
        "promotionEndDate": "2024-08-31",
        "promotionIssuedDate": "2024-08-06",
        "promotionIssuedExpiryDate": "2024-08-31",
        "promotionDescription": "Promo_Loyalty_Earn",
        "customFields": [],
        "issueRestrictions": [
            {
                "limitOn": "CUSTOMER",
                "kpi": "MAX_NUMBER_OF_ISSUALS_PER_CUSTOMER",
                "maxLimit": 3
            }
        ],
        "redemptionRestrictions": [
            {
                "limitOn": "",
                "kpi": "MAX_REDEMPTIONS_PER_EARN_PER_CUSTOMER",
                "restrictionType": "NON_PERIOD_BASED",
                "maxLimit": 3
            }
        ],
        "revokedIssualId": 2901
    },
    "orgId": 51538,
    "refId": "51538_V2KxxB3KKb",
    "apiRequestId": "c3560c2840c9254785bf98d7a9de6e1d",
    "createdAt": 1722945100073
}

Revoke earned loyalty promotion (revokeEarnedPromotion)

Notifies when an earned loyalty promotion has been revoked for a user.

{
    "eventName": "revokeEarnedPromotion",
    "data": {
        "customerIdentifiers": {
            "customerId": 387337123,
            "instore": {
                "mobile": "919191920700",
                "email": "[email protected]",
                "cardNumbers": []
            }
        },
        "loyaltyProgramId": 2845,
        "promotionId": 1133570767,
        "promotionName": "Promo_Loyalty_Earn",
        "promotionStartDate": "2024-07-01",
        "promotionEndDate": "2024-08-31",
        "promotionDescription": "Promo_Loyalty_Earn",
        "customFields": [],
        "revokedEarnedPromotionDetails": [
            {
                "revokedEarnedId": 2523,
                "promotionEarnedDate": "2024-08-06",
                "promotionEarnedExpiryDate": "2024-08-31"
            }
        ],
        "earnRestrictions": [
            {
                "limitOn": "CUSTOMER",
                "kpi": "MAX_NUMBER_OF_EARNS_PER_CUSTOMER",
                "maxLimit": 3
            },
            {
                "limitOn": "CUSTOMER",
                "kpi": "MAX_POINTS_PER_EARN_PER_CUSTOMER",
                "maxLimit": -1
            }
        ],
        "redemptionRestrictions": [
            {
                "limitOn": "",
                "kpi": "MAX_REDEMPTIONS_PER_EARN_PER_CUSTOMER",
                "restrictionType": "NON_PERIOD_BASED",
                "maxLimit": 3
            }
        ]
    },
    "orgId": 51538,
    "refId": "51538_LEpXJt8Vd9",
    "apiRequestId": "025f37887d8814414da0b7e3fcb5d88e",
    "createdAt": 1722945241191
}

Cart Promotions

A cart promotion is a type of promotion or discount that is applied to products in a customer's shopping cart, either during product search or at checkout.

Cart Promotion Issued Event (cartPromotionIssued)

Notifies when a cart promotion is issued.

{
        "eventName": "cartPromotionIssued",
        "data": {
            "customerIdentifiers": {
                "customerId": 4663,
                "firstName": "BGUOZRE",
                "lastName": "MSJKWQ",
                "loyaltyType": "IEXVTDCP",
                "instore": {
                    "id": 9942,
                    "mobile": "NHLE",
                    "email": "JCJV",
                    "externalId": "LUES",
                    "cardnumber": "OAFFXCN",
                    "cardexternalid": "HGKX",
                    "cardNumbers": [
                        "GYCYSLS"
                    ]
                },
                "facebook": {
                    "accounts": [
                        {
                            "accountId": "VOQBUXTRPC",
                            "identifiers": [
                                {
                                    "identifierType": "ARQ",
                                    "identifierValue": "CMFMUHDDFX"
                                }
                            ]
                        }
                    ]
                },
                "web_engage": {
                    "accounts": [
                        {
                            "accountId": "PDYDJ",
                            "identifiers": [
                                {
                                    "identifierType": "HHIWUZUU",
                                    "identifierValue": "XBYAXTP"
                                }
                            ]
                        }
                    ]
                },
                "wechat": {
                    "accounts": [
                        {
                            "accountId": "DOI",
                            "identifiers": [
                                {
                                    "identifierType": "HAG",
                                    "identifierValue": "BRWCCUB"
                                }
                            ]
                        }
                    ]
                },
                "martjack": {
                    "accounts": [
                        {
                            "accountId": "PYKCMFU",
                            "identifiers": [
                                {
                                    "identifierType": "NNVEKHWSN",
                                    "identifierValue": "IHMRPJHCO"
                                }
                            ]
                        }
                    ]
                },
                "tmall": {
                    "accounts": [
                        {
                            "accountId": "SJRJI",
                            "identifiers": [
                                {
                                    "identifierType": "TVFDMV",
                                    "identifierValue": "BNUESBSJ"
                                }
                            ]
                        }
                    ]
                },
                "toabao": {
                    "accounts": [
                        {
                            "accountId": "WBLQSK",
                            "identifiers": [
                                {
                                    "identifierType": "XFBIRJ",
                                    "identifierValue": "FYTIKULNLO"
                                }
                            ]
                        }
                    ]
                },
                "jd": {
                    "accounts": [
                        {
                            "accountId": "DEKM",
                            "identifiers": [
                                {
                                    "identifierType": "QXUDKD",
                                    "identifierValue": "SDBNILOJMG"
                                }
                            ]
                        }
                    ]
                },
                "ecommerce": {
                    "accounts": [
                        {
                            "accountId": "AHADQOUOO",
                            "identifiers": [
                                {
                                    "identifierType": "DSHXLYUBBN",
                                    "identifierValue": "VNOOEF"
                                }
                            ]
                        }
                    ]
                },
                "website": {
                    "accounts": [
                        {
                            "accountId": "CKVPGRZ",
                            "identifiers": [
                                {
                                    "identifierType": "GYKOQHT",
                                    "identifierValue": "ZMKUWCRQ"
                                }
                            ]
                        }
                    ]
                },
                "line": {
                    "accounts": [
                        {
                            "accountId": "USPIFKZ",
                            "identifiers": [
                                {
                                    "identifierType": "RBZVSAJD",
                                    "identifierValue": "LYUEVN"
                                }
                            ]
                        }
                    ]
                }
            },
            "promotionId": "DHDAFNXDUH",
            "issueId": "RMQRZEI",
            "issueDate": "GDYDBSNTHO"
        },
        "eventId": "AKDVFVIJAV",
        "orgId": 9475,
        "refId": "WEEVQBDJRJ",
        "apiRequestId": "OZOLOVGXST",
        "createdAt": 9439,
        "loyaltyEventId": "IYNSIEE",
        "traceAttributes": {
            "VFVLXT": "IUQAIPC",
            "FMKATR": "NBXVNBKO",
            "XHLZUANMIU": "YIPFQHOKLE",
            "SWUFTBOBDL": "KAGJIHOJEH",
            "TZKYJJLB": "WELRWURJK"
        }
    }

Cart Promotion Redeemed Event (cartPromotionRedeemed)

Notifies whenever a cart promotion is redeemed by the user.

{
        "eventName": "cartPromotionRedeemed",
        "data": {
            "customerIdentifiers": {
                "customerId": 5389,
                "firstName": "KKXYFYWJ",
                "lastName": "ZESRIQCPM",
                "loyaltyType": "XKOLOAHIBC",
                "instore": {
                    "id": 1623,
                    "mobile": "UVH",
                    "email": "EFJK",
                    "externalId": "HJJ",
                    "cardnumber": "PPLBDZ",
                    "cardexternalid": "MCNZXBSDIZ",
                    "cardNumbers": [
                        "NXPEHKXL"
                    ]
                },
                "facebook": {
                    "accounts": [
                        {
                            "accountId": "ZCHJWFMKCC",
                            "identifiers": [
                                {
                                    "identifierType": "KKHID",
                                    "identifierValue": "BLV"
                                }
                            ]
                        }
                    ]
                },
                "web_engage": {
                    "accounts": [
                        {
                            "accountId": "EDGMQKRA",
                            "identifiers": [
                                {
                                    "identifierType": "LFY",
                                    "identifierValue": "YHMIO"
                                }
                            ]
                        }
                    ]
                },
                "wechat": {
                    "accounts": [
                        {
                            "accountId": "DXQLH",
                            "identifiers": [
                                {
                                    "identifierType": "FEOKK",
                                    "identifierValue": "MBHPWQ"
                                }
                            ]
                        }
                    ]
                },
                "martjack": {
                    "accounts": [
                        {
                            "accountId": "YXD",
                            "identifiers": [
                                {
                                    "identifierType": "VCXOHLX",
                                    "identifierValue": "IEXFYTFU"
                                }
                            ]
                        }
                    ]
                },
                "tmall": {
                    "accounts": [
                        {
                            "accountId": "DLZKACZFA",
                            "identifiers": [
                                {
                                    "identifierType": "IMQGCSRPD",
                                    "identifierValue": "ZEUKBJZN"
                                }
                            ]
                        }
                    ]
                },
                "toabao": {
                    "accounts": [
                        {
                            "accountId": "RIPV",
                            "identifiers": [
                                {
                                    "identifierType": "IVZYIT",
                                    "identifierValue": "RBJKM"
                                }
                            ]
                        }
                    ]
                },
                "jd": {
                    "accounts": [
                        {
                            "accountId": "VEBJMPMVF",
                            "identifiers": [
                                {
                                    "identifierType": "ZMWOBMUUO",
                                    "identifierValue": "LXMARZIC"
                                }
                            ]
                        }
                    ]
                },
                "ecommerce": {
                    "accounts": [
                        {
                            "accountId": "AQKTD",
                            "identifiers": [
                                {
                                    "identifierType": "RWPMFPGSH",
                                    "identifierValue": "JSI"
                                }
                            ]
                        }
                    ]
                },
                "website": {
                    "accounts": [
                        {
                            "accountId": "KBZVADXCS",
                            "identifiers": [
                                {
                                    "identifierType": "YYRZZUQ",
                                    "identifierValue": "YZQPZA"
                                }
                            ]
                        }
                    ]
                },
                "line": {
                    "accounts": [
                        {
                            "accountId": "HRZZAKEHD",
                            "identifiers": [
                                {
                                    "identifierType": "YJIAPEJPS",
                                    "identifierValue": "EENOI"
                                }
                            ]
                        }
                    ]
                }
            },
            "addedBy": {
                "id": 5206,
                "till": {
                    "code": "DYQOBU",
                    "name": "XIQV"
                },
                "store": {
                    "code": "NWNV",
                    "name": "WTQVRTNL",
                    "externalId": "FPZNGYUV",
                    "externalId1": "WFM",
                    "externalId2": "TBITHF"
                }
            },
            "redemptionDateTime": "WNB",
            "transactionIdentifier": "SGA",
            "appliedPromotions": [
                {
                    "redemptionCount": 4933,
                    "promotionId": "VOSY",
                    "earnId": "MGVADJSQO",
                    "discountAppliedOnQuantity": 2662.682769091687,
                    "discount": 3127.1389321916945,
                    "redemptionType": "TQIAZNDWD"
                }
            ],
            "lineItemInfo": [
                {
                    "sku": "XNK",
                    "productId": "GMX",
                    "appliedPromotions": [
                        {
                            "redemptionCount": 4947,
                            "promotionId": "ORKC",
                            "earnId": "RQHH",
                            "discountAppliedOnQuantity": 2178.8487374098336,
                            "discount": 6697.317986678818,
                            "redemptionType": "PJB"
                        }
                    ]
                }
            ]
        },
        "eventId": "RAKUK",
        "orgId": 3401,
        "refId": "DXLDCYH",
        "apiRequestId": "AWTDZLHDJ",
        "createdAt": 9510,
        "loyaltyEventId": "NUWRBLX",
        "traceAttributes": {
            "CPGY": "KAWUEBFOYA",
            "VXG": "JBJTTIHYFR",
            "YXLOW": "BYHZ"
        }
    }

Cart Promotion Revoked Event (cartPromotionRevoked)

Notifies whenever a cart promotion is revoked from the user.

{
        "eventName": "cartPromotionRevoked",
        "data": {
            "customerIdentifiers": {
                "customerId": 6104,
                "firstName": "MBTXFZD",
                "lastName": "DAKW",
                "loyaltyType": "FMLEMKUMD",
                "instore": {
                    "id": 4309,
                    "mobile": "OVGPFLU",
                    "email": "WKQ",
                    "externalId": "BGQYITYA",
                    "cardnumber": "UFVWTD",
                    "cardexternalid": "GVOUS",
                    "cardNumbers": [
                        "CFZ"
                    ]
                },
                "facebook": {
                    "accounts": [
                        {
                            "accountId": "QDYFNYLFND",
                            "identifiers": [
                                {
                                    "identifierType": "RQXQL",
                                    "identifierValue": "LHVWANWYL"
                                }
                            ]
                        }
                    ]
                },
                "web_engage": {
                    "accounts": [
                        {
                            "accountId": "OKBE",
                            "identifiers": [
                                {
                                    "identifierType": "MGX",
                                    "identifierValue": "ZKAMHL"
                                }
                            ]
                        }
                    ]
                },
                "wechat": {
                    "accounts": [
                        {
                            "accountId": "OVMFKXJGVJ",
                            "identifiers": [
                                {
                                    "identifierType": "BTHPNOOMYL",
                                    "identifierValue": "XBCH"
                                }
                            ]
                        }
                    ]
                },
                "martjack": {
                    "accounts": [
                        {
                            "accountId": "IMH",
                            "identifiers": [
                                {
                                    "identifierType": "FQCZL",
                                    "identifierValue": "RAUIRHRHV"
                                }
                            ]
                        }
                    ]
                },
                "tmall": {
                    "accounts": [
                        {
                            "accountId": "ZWWLE",
                            "identifiers": [
                                {
                                    "identifierType": "JUDOWMMXN",
                                    "identifierValue": "LALGWJTQIA"
                                }
                            ]
                        }
                    ]
                },
                "toabao": {
                    "accounts": [
                        {
                            "accountId": "GLTLMCZE",
                            "identifiers": [
                                {
                                    "identifierType": "IKPVM",
                                    "identifierValue": "XVMONWYDKQ"
                                }
                            ]
                        }
                    ]
                },
                "jd": {
                    "accounts": [
                        {
                            "accountId": "OTMGM",
                            "identifiers": [
                                {
                                    "identifierType": "LFQEHG",
                                    "identifierValue": "THGZS"
                                }
                            ]
                        }
                    ]
                },
                "ecommerce": {
                    "accounts": [
                        {
                            "accountId": "TSKD",
                            "identifiers": [
                                {
                                    "identifierType": "DPYSUVYZP",
                                    "identifierValue": "DOVT"
                                }
                            ]
                        }
                    ]
                },
                "website": {
                    "accounts": [
                        {
                            "accountId": "LPM",
                            "identifiers": [
                                {
                                    "identifierType": "IBZTAM",
                                    "identifierValue": "IGLNS"
                                }
                            ]
                        }
                    ]
                },
                "line": {
                    "accounts": [
                        {
                            "accountId": "HASYHRHCK",
                            "identifiers": [
                                {
                                    "identifierType": "JOQGUNUU",
                                    "identifierValue": "TLSBVOYVMF"
                                }
                            ]
                        }
                    ]
                }
            },
            "promotionId": "SJRKYILE",
            "earnId": "TXISYZVZMM"
        },
        "eventId": "ONGUZWFNV",
        "orgId": 5155,
        "refId": "WHEQ",
        "apiRequestId": "BLJC",
        "createdAt": 4840,
        "loyaltyEventId": "JUYQET",
        "traceAttributes": {
            "CGY": "FAUY",
            "BKKS": "GYCDXOJBPM"
        }
    }

Cart Promotion Earned Event (cartPromotionEarned)

Notifies whenever the user earns the cart promotion on meeting the defined criteria for the promotion.

{
        "eventName": "cartPromotionEarned",
        "data": {
            "customerIdentifiers": {
                "customerId": 1944,
                "firstName": "LBPKGKD",
                "lastName": "IPDPQVJ",
                "loyaltyType": "WJIDT",
                "instore": {
                    "id": 9878,
                    "mobile": "KFDVCAGNXG",
                    "email": "AOZQTBGP",
                    "externalId": "JCBN",
                    "cardnumber": "ADRLRPMO",
                    "cardexternalid": "JQPE",
                    "cardNumbers": [
                        "ECCLNRRXWU"
                    ]
                },
                "facebook": {
                    "accounts": [
                        {
                            "accountId": "HKXCKVRFC",
                            "identifiers": [
                                {
                                    "identifierType": "DGOVKD",
                                    "identifierValue": "THUWJLY"
                                }
                            ]
                        }
                    ]
                },
                "web_engage": {
                    "accounts": [
                        {
                            "accountId": "COTO",
                            "identifiers": [
                                {
                                    "identifierType": "MHITBN",
                                    "identifierValue": "ZWLVYUQ"
                                }
                            ]
                        }
                    ]
                },
                "wechat": {
                    "accounts": [
                        {
                            "accountId": "UTIHGNGC",
                            "identifiers": [
                                {
                                    "identifierType": "IZXYNGXLFS",
                                    "identifierValue": "AGTAVCCWDT"
                                }
                            ]
                        }
                    ]
                },
                "martjack": {
                    "accounts": [
                        {
                            "accountId": "FWTLHC",
                            "identifiers": [
                                {
                                    "identifierType": "UIQZKVZEN",
                                    "identifierValue": "RHIM"
                                }
                            ]
                        }
                    ]
                },
                "tmall": {
                    "accounts": [
                        {
                            "accountId": "VILJGGC",
                            "identifiers": [
                                {
                                    "identifierType": "LGTWZCJCI",
                                    "identifierValue": "TRZSEOL"
                                }
                            ]
                        }
                    ]
                },
                "toabao": {
                    "accounts": [
                        {
                            "accountId": "YNUCRYCRHB",
                            "identifiers": [
                                {
                                    "identifierType": "KZLQI",
                                    "identifierValue": "ABNWWMEZC"
                                }
                            ]
                        }
                    ]
                },
                "jd": {
                    "accounts": [
                        {
                            "accountId": "VSSFLWR",
                            "identifiers": [
                                {
                                    "identifierType": "MZZY",
                                    "identifierValue": "XKFWW"
                                }
                            ]
                        }
                    ]
                },
                "ecommerce": {
                    "accounts": [
                        {
                            "accountId": "KEO",
                            "identifiers": [
                                {
                                    "identifierType": "SOWOMRPAL",
                                    "identifierValue": "WVSINXXUPU"
                                }
                            ]
                        }
                    ]
                },
                "website": {
                    "accounts": [
                        {
                            "accountId": "GATFZAX",
                            "identifiers": [
                                {
                                    "identifierType": "BMWEXEPDOH",
                                    "identifierValue": "AMATDTZNE"
                                }
                            ]
                        }
                    ]
                },
                "line": {
                    "accounts": [
                        {
                            "accountId": "BED",
                            "identifiers": [
                                {
                                    "identifierType": "VEEQTZ",
                                    "identifierValue": "ZAPLGNY"
                                }
                            ]
                        }
                    ]
                }
            },
            "promotionId": "VUCFN",
            "issueId": "GDVPLFNF",
            "issueDate": "KOYYHVH",
            "earnId": "TDXOQ",
            "earnedTime": "XOKIIO"
        },
        "eventId": "ABN",
        "orgId": 4227,
        "refId": "BEVHYZI",
        "apiRequestId": "CQPZZNTB",
        "createdAt": 3064,
        "loyaltyEventId": "QSWXPULJRD",
        "traceAttributes": {
            "WVS": "PQRJSPY",
            "WDZFEKXGUE": "MIRTVR",
            "SONQ": "JJVTVWXQMM",
            "OXMJIMZD": "FDROQD",
            "WMXI": "AFDJBR"
        }
    }