Webhooks

New participant

post/api/v2/events/participant

Request body

idinteger nullable

Participant ID.

inviterIdinteger nullable

ID of the inviting participant.

pointsnumber

Available loyalty points that the customer can redeem for discounts on future purchases.

discountRatenumber

Current discount rate (percentage) based on the customer's membership tier. Applied to purchases when baseDiscountPolicy is APPLY_DISCOUNT.

cashbackRatenumber

Current cashback rate (percentage) based on the customer's membership tier. Determines points earned per purchase when baseDiscountPolicy is CHARGE_SCORES.

cashSpentnumber

Total amount the customer has paid in currency across all completed purchases (excluding point payments). Used for automatic membership tier upgrades based on spending thresholds.

savedFundsnumber

Total amount the customer has saved through discounts, point redemptions, and certificates across all transactions.

invitedCountinteger

Total number of people this customer has invited to join the loyalty program via referral link.

effectiveInvitedCountinteger

Number of invited people who made at least one purchase (effective referrals). Used for membership tier upgrade conditions.

operationsCountinteger

Total number of completed purchase transactions by this customer.

fullRefundsCountinteger

Number of fully refunded transactions for this customer.

notestring nullable

Note.

dateCreatedstring date-time nullable

Date and time when customer was registered in company.

lastTransactionTimestring date-time nullable

Date and time when the customer made the last transaction.

pointsExpireInstring date-time nullable

Date and time when the customer's points will be expired.

Response

OK

Changes