LoyaltyActivity
A read-only log entry of something that occurred within a Member's Loyalty Enrollment. Examples may include initial Member enrollment, point credits, transactions (for points), point expirations, reward purchases, etc.
- createdType: stringFormat: date-time
_at the date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z
- descriptionType: string
A longer description that may provide additional context regarding this Loyalty Activity (e.g. the name of the Reward that was purchased).
- enrollmentType: integer
_id The ID of the Loyalty Enrollment this Activity occurred for.
- idType: integer
Integer numbers.
- pointType: integer
_credit If applicable, how many points were credited to the Enrollment in association with this Activity.
- pointType: integer
_debit If applicable, how many points were deducted from the Enrollment in association with this Activity.
- rewardType: integer
_state _id If applicable, the ID of a Sparkfly Loyalty Reward State associated with the Activity (e.g. Reward State Voided).
- transactionType: integer
_id If applicable, the ID of a Sparkfly Transaction record associated with the Activity.
- typeType: stringenum
A short description that categorizes Loyalty Activities by the type of activity that occurred. The specified values should not be considered comprehensive.
values- member
_enrolled - points
_credited - points
_debited - points
_expired - reward
_purchased
- updatedType: stringFormat: date-time
_at the date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z
{
"id": 0,
"loyalty_enrollment_id": 0,
"type": "member_enrolled",
"point_credit": 0,
"point_debit": 0,
"description": "string",
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z"
}