> For the complete documentation index, see [llms.txt](https://help.openloyalty.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.openloyalty.io/api-reference/member/check-members-activity-history.md).

# Check member’s activity history

Integration\
\
This method returns detailed information about a specific Campaign.

````json
{"openapi":"3.0.0","info":{"title":"Open Loyalty","version":"0.0.1"},"tags":[{"name":"Member","description":"These endpoints allow you to easily manage members."}],"servers":[{"url":"http://openloyalty.localhost"}],"security":[{"Bearer":[]},{"token":[]}],"components":{"securitySchemes":{"Bearer":{"type":"http","description":"Open Loyalty has the JWT authorization.\nTo learn what a JSON Web Token is and how it works, check out Introduction to JSON Web Tokens <https://jwt.io/introduction/>\n\n### Obtain an access token\n\nSend a request with the parameters username and password\n\n#### Definition\n\n`POST /api/admin/login_check` [Go to definition](#operation/adminLoginCheck)\\\n`POST /api/{storeCode}/member/login_check` [Go to definition](#operation/memberLoginCheck)\n\n#### Example\n\n```bash\ncurl {HOST}/api/admin/login_check\n    -H 'Content-Type: application/json;charset=UTF-8'\n    -H 'Accept: application/json, text/plain, */*'\n    --data-binary '{\"username\":\"admin\",\"password\":\"password\"}'\n```\n\n#### Example Response\n\n```json\n{\n    \"token\":\"eyJhbGciOiJSUzI1NiIsInR5cCI6...\",\n    \"refresh_token\":\"0558f8bb29948c4e54c443f...\"\n}\n```\n\n### Using JSON Web Token\n\nAdd authorization header to each request\\\n`Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6...`\\\nYou can now access any API method you want under the /api prefix.\n\n#### Example\n```bash\ncurl {HOST}/api/{storeCode}/analytics/members\n    -H 'Accept: application/json'\n    -H 'Content-type: application/x-www-form-urlencoded'\n    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6...'\n```\n\n### Refresh JSON Web Token\nYou can refresh token using refresh_token that was given during login.\\\nThere are two endpoints\\\nTo refresh admin token `POST /api/token/refresh` [Go to definition](#operation/tokenRefresh)\\\nTo refresh member token `POST /api/{storeCode}/token/refresh` [Go to definition](#operation/tokenRefreshMember)\n","bearerFormat":"JWT","scheme":"bearer"},"token":{"type":"apiKey","name":"X-AUTH-TOKEN","in":"header"}},"parameters":{"storeCode":{"name":"storeCode","in":"path","description":"Store code","required":true,"schema":{"type":"string"}},"page":{"name":"_page","in":"query","description":"Number of page with results, starts from 1","required":false,"schema":{"type":"integer","default":1,"minimum":1}},"itemsOnPage":{"name":"_itemsOnPage","in":"query","description":"Items on one page","required":false,"schema":{"type":"integer","default":10,"maximum":50,"minimum":1}},"orderBy":{"name":"_orderBy","in":"query","description":"Sorting order. If sorting is not chosen, the rows will be returned in an unspecified order. Sort order: * `asc` - Ascending, from A to Z * `desc` - Descending, from Z to A","required":false,"style":"deepObject","explode":true,"schema":{"type":"object","additionalProperties":{"type":"string","enum":["asc","desc"]}}}},"schemas":{"AssignedTransactionToCustomer":{"required":["customerId","type","createdAt"],"properties":{"customerId":{"type":"string"},"type":{"type":"string","enum":["AssignedTransactionToCustomer"]},"accountId":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"flatVariables":{"required":["transactionId","documentType","documentNumber","grossValue"],"properties":{"transactionId":{"type":"string"},"documentType":{"type":"string"},"documentNumber":{"type":"string"},"grossValue":{"type":"integer"}},"type":"object","additionalProperties":false}},"type":"object","additionalProperties":false},"CustomerWasActivated":{"required":["customerId","type","createdAt"],"properties":{"customerId":{"type":"string"},"type":{"type":"string","enum":["CustomerWasActivated"]},"accountId":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"flatVariables":{"type":"object"}},"type":"object","additionalProperties":false},"CustomerWasAnonymized":{"required":["customerId","type","createdAt"],"properties":{"customerId":{"type":"string"},"type":{"type":"string","enum":["CustomerWasAnonymized"]},"accountId":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"flatVariables":{"type":"object"}},"type":"object","additionalProperties":false},"CustomerWasDeactivated":{"required":["customerId","type","createdAt"],"properties":{"customerId":{"type":"string"},"type":{"type":"string","enum":["CustomerWasDeactivated"]},"accountId":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"flatVariables":{"type":"object"}},"type":"object","additionalProperties":false},"CustomerWasMovedToLevel":{"required":["customerId","type","createdAt"],"properties":{"customerId":{"type":"string"},"type":{"type":"string","enum":["CustomerWasMovedToLevel"]},"accountId":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"flatVariables":{"required":["manually","removedManually"],"properties":{"newLevelId":{"type":"string"},"newLevelName":{"type":"string"},"oldLevelId":{"description":"Present only when the member held a tier before this change.","type":"string","format":"uuid"},"oldLevelName":{"description":"Present only when the member held a tier before this change.","type":"string"},"tierSetId":{"type":"string"},"tierSetName":{"type":"string"},"campaignId":{"description":"Present only when a campaign effect assigned the tier. `manually` is then `false`; an administrator's assignment carries `manually: true` and no `campaignId`.","type":"string","format":"uuid"},"campaignName":{"description":"Name of the campaign referenced by `campaignId`, resolved when the entry was written. Omitted when the campaign could not be resolved.","type":"string"},"manually":{"description":"Whether an administrator assigned the tier. A campaign grant reads `false` even though it takes the same domain path as a manual assignment.","type":"boolean"},"removedManually":{"type":"boolean"}},"type":"object","additionalProperties":false}},"type":"object","additionalProperties":false},"CustomerWasRegistered":{"required":["customerId","type","createdAt"],"properties":{"customerId":{"type":"string"},"type":{"type":"string","enum":["CustomerWasRegistered"]},"accountId":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"flatVariables":{"type":"object"}},"type":"object","additionalProperties":false},"PendingPointsWereAdded":{"required":["customerId","type","createdAt"],"properties":{"customerId":{"type":"string"},"type":{"type":"string","enum":["PendingPointsWereAdded"]},"accountId":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"flatVariables":{"required":["points","transferId","walletId","walletTypeCode","walletUnitSingularName","walletUnitPluralName","activePoints"],"properties":{"points":{"type":"number","format":"float"},"comment":{"type":"string"},"transferId":{"type":"string"},"walletId":{"type":"string"},"walletTypeCode":{"type":"string"},"walletTypeName":{"type":"string"},"walletUnitSingularName":{"type":"string"},"walletUnitPluralName":{"type":"string"},"activePoints":{"type":"integer"},"eventDate":{"description":"ISO 8601 timestamp (microsecond precision) of when this event occurred. Absent for entries created before high-precision tracking was introduced.","type":"string","format":"date-time"}},"type":"object","additionalProperties":false}},"type":"object","additionalProperties":false},"PendingPointsWereCanceled":{"required":["customerId","type","createdAt"],"properties":{"customerId":{"type":"string"},"type":{"type":"string","enum":["PendingPointsWereCanceled"]},"accountId":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"flatVariables":{"required":["transferId","walletId","walletTypeCode","walletUnitSingularName","walletUnitPluralName","points","activePoints"],"properties":{"transferId":{"type":"string","format":"uuid"},"walletId":{"type":"string","format":"uuid"},"walletTypeCode":{"type":"string"},"walletTypeName":{"type":"string"},"walletUnitSingularName":{"type":"string"},"walletUnitPluralName":{"type":"string"},"points":{"type":"number","format":"float"},"comment":{"type":"string"},"activePoints":{"type":"integer"},"eventDate":{"description":"ISO 8601 timestamp (microsecond precision) of when this event occurred. Absent for entries created before high-precision tracking was introduced.","type":"string","format":"date-time"}},"type":"object","additionalProperties":false}},"type":"object","additionalProperties":false},"PointsWereAdded":{"required":["customerId","type","createdAt"],"properties":{"customerId":{"type":"string"},"type":{"type":"string","enum":["PointsWereAdded"]},"accountId":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"flatVariables":{"required":["points","transferId","walletId","walletTypeCode","walletUnitSingularName","walletUnitPluralName","activePoints"],"properties":{"points":{"type":"number","format":"float"},"comment":{"type":"string"},"transferId":{"type":"string"},"walletId":{"type":"string"},"walletTypeCode":{"type":"string"},"walletTypeName":{"type":"string"},"walletUnitSingularName":{"type":"string"},"walletUnitPluralName":{"type":"string"},"activePoints":{"type":"integer"},"eventDate":{"description":"ISO 8601 timestamp (microsecond precision) of when this event occurred. Absent for entries created before high-precision tracking was introduced.","type":"string","format":"date-time"}},"type":"object","additionalProperties":false}},"type":"object","additionalProperties":false},"PointsWereBlocked":{"required":["customerId","type","createdAt"],"properties":{"customerId":{"type":"string"},"type":{"type":"string","enum":["PointsWereBlocked"]},"accountId":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"flatVariables":{"required":["transferId","walletId","walletTypeCode","walletUnitSingularName","walletUnitPluralName","points","activePoints"],"properties":{"transferId":{"type":"string","format":"uuid"},"walletId":{"type":"string","format":"uuid"},"walletTypeCode":{"type":"string"},"walletTypeName":{"type":"string"},"walletUnitSingularName":{"type":"string"},"walletUnitPluralName":{"type":"string"},"points":{"type":"number","format":"float"},"comment":{"type":"string"},"activePoints":{"type":"integer"},"eventDate":{"description":"ISO 8601 timestamp (microsecond precision) of when this event occurred. Absent for entries created before high-precision tracking was introduced.","type":"string","format":"date-time"}},"type":"object","additionalProperties":false}},"type":"object","additionalProperties":false},"PointsWereCanceled":{"required":["customerId","type","createdAt"],"properties":{"customerId":{"type":"string"},"type":{"type":"string","enum":["PointsWereCanceled"]},"accountId":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"flatVariables":{"required":["transferId","walletId","walletTypeCode","walletUnitSingularName","walletUnitPluralName","points","activePoints"],"properties":{"transferId":{"type":"string","format":"uuid"},"walletId":{"type":"string","format":"uuid"},"walletTypeCode":{"type":"string"},"walletTypeName":{"type":"string"},"walletUnitSingularName":{"type":"string"},"walletUnitPluralName":{"type":"string"},"points":{"type":"number","format":"float"},"comment":{"type":"string"},"activePoints":{"type":"integer"},"eventDate":{"description":"ISO 8601 timestamp (microsecond precision) of when this event occurred. Absent for entries created before high-precision tracking was introduced.","type":"string","format":"date-time"}},"type":"object","additionalProperties":false}},"type":"object","additionalProperties":false},"PointsWereExpired":{"required":["customerId","type","createdAt"],"properties":{"customerId":{"type":"string"},"type":{"type":"string","enum":["PointsWereExpired"]},"accountId":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"flatVariables":{"required":["transferId","walletId","walletTypeCode","walletUnitSingularName","walletUnitPluralName","points","activePoints"],"properties":{"transferId":{"type":"string","format":"uuid"},"walletId":{"type":"string","format":"uuid"},"walletTypeCode":{"type":"string"},"walletTypeName":{"type":"string"},"walletUnitSingularName":{"type":"string"},"walletUnitPluralName":{"type":"string"},"points":{"type":"number","format":"float"},"comment":{"type":"string"},"activePoints":{"type":"integer"},"eventDate":{"description":"ISO 8601 timestamp (microsecond precision) of when this event occurred. Absent for entries created before high-precision tracking was introduced.","type":"string","format":"date-time"}},"type":"object","additionalProperties":false}},"type":"object","additionalProperties":false},"PointsWereSpent":{"required":["customerId","type","createdAt"],"properties":{"customerId":{"type":"string"},"type":{"type":"string","enum":["PointsWereSpent"]},"accountId":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"flatVariables":{"required":["transferId","walletId","walletTypeCode","walletUnitSingularName","walletUnitPluralName","points","activePoints"],"properties":{"transferId":{"type":"string","format":"uuid"},"walletId":{"type":"string","format":"uuid"},"walletTypeCode":{"type":"string"},"walletTypeName":{"type":"string"},"walletUnitSingularName":{"type":"string"},"walletUnitPluralName":{"type":"string"},"points":{"type":"number","format":"float"},"comment":{"type":"string"},"activePoints":{"type":"integer"},"eventDate":{"description":"ISO 8601 timestamp (microsecond precision) of when this event occurred. Absent for entries created before high-precision tracking was introduced.","type":"string","format":"date-time"}},"type":"object","additionalProperties":false}},"type":"object","additionalProperties":false},"PointsWereTransferred":{"required":["customerId","type","createdAt"],"properties":{"customerId":{"type":"string"},"type":{"type":"string","deprecated":true,"enum":["PointsWereTransferred"]},"accountId":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"flatVariables":{"required":["points"],"properties":{"points":{"type":"number","format":"float"},"receiverFirstName":{"type":"string"},"receiverLastName":{"type":"string"},"eventDate":{"description":"ISO 8601 timestamp (microsecond precision) of when this event occurred. Absent for entries created before high-precision tracking was introduced.","type":"string","format":"date-time"}},"type":"object","additionalProperties":false}},"type":"object","additionalProperties":false},"PointsWereUnblocked":{"required":["customerId","type","createdAt"],"properties":{"customerId":{"type":"string"},"type":{"type":"string","enum":["PointsWereUnblocked"]},"accountId":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"flatVariables":{"required":["points","transferId","walletId","walletTypeCode","walletUnitSingularName","walletUnitPluralName","activePoints"],"properties":{"points":{"type":"number","format":"float"},"comment":{"type":"string"},"transferId":{"type":"string"},"walletId":{"type":"string"},"walletTypeCode":{"type":"string"},"walletTypeName":{"type":"string"},"walletUnitSingularName":{"type":"string"},"walletUnitPluralName":{"type":"string"},"activePoints":{"type":"integer"},"eventDate":{"description":"ISO 8601 timestamp (microsecond precision) of when this event occurred. Absent for entries created before high-precision tracking was introduced.","type":"string","format":"date-time"}},"type":"object","additionalProperties":false}},"type":"object","additionalProperties":false},"PointsWereUnlocked":{"required":["customerId","type","createdAt"],"properties":{"customerId":{"type":"string"},"type":{"type":"string","enum":["PointsWereUnlocked"]},"accountId":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"flatVariables":{"required":["points","transferId","walletId","walletTypeCode","walletUnitSingularName","walletUnitPluralName","activePoints"],"properties":{"points":{"type":"number","format":"float"},"comment":{"type":"string"},"transferId":{"type":"string"},"walletId":{"type":"string"},"walletTypeCode":{"type":"string"},"walletTypeName":{"type":"string"},"walletUnitSingularName":{"type":"string"},"walletUnitPluralName":{"type":"string"},"activePoints":{"type":"integer"},"eventDate":{"description":"ISO 8601 timestamp (microsecond precision) of when this event occurred. Absent for entries created before high-precision tracking was introduced.","type":"string","format":"date-time"}},"type":"object","additionalProperties":false}},"type":"object","additionalProperties":false},"RewardWasBought":{"required":["customerId","type","createdAt"],"properties":{"customerId":{"type":"string"},"type":{"type":"string","enum":["RewardWasBought"]},"accountId":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"flatVariables":{"required":["issuedRewardId","rewardId"],"properties":{"rewardName":{"type":"string"},"issuedRewardId":{"type":"string"},"rewardId":{"type":"string"}},"type":"object","additionalProperties":false}},"type":"object","additionalProperties":false},"AchievementCompleted":{"required":["customerId","type","createdAt"],"properties":{"customerId":{"type":"string"},"type":{"type":"string","enum":["AchievementCompleted"]},"accountId":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"flatVariables":{"required":["adminId","achievementName","manuallyEdited"],"properties":{"adminId":{"type":"string"},"manuallyEdited":{"type":"boolean"},"achievementName":{"type":"string"},"achievementId":{"type":"string"},"campaignId":{"type":"string"},"previousCompletionCount":{"type":"integer"},"currentCompletionCount":{"type":"integer"},"completedAt":{"type":"string"},"isDuplicatedByChallenge":{"description":"Present and set to true only for migrated challenge achievements","type":"boolean"}},"type":"object","additionalProperties":false}},"type":"object","additionalProperties":false},"AssignedCustomEventToCustomer":{"required":["customerId","type","createdAt"],"properties":{"customerId":{"type":"string"},"type":{"type":"string","enum":["AssignedCustomEventToCustomer"]},"accountId":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"flatVariables":{"required":["customEventId","type"],"properties":{"customEventId":{"type":"string"},"type":{"type":"string"}},"type":"object","additionalProperties":false}},"type":"object","additionalProperties":false},"CustomAttributeWasAdded":{"required":["customerId","type","createdAt"],"properties":{"customerId":{"type":"string"},"type":{"type":"string","enum":["CustomAttributeWasAdded"]},"accountId":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"flatVariables":{"required":["customAttributeKey","customAttributeValue"],"properties":{"customAttributeKey":{"type":"string"},"customAttributeValue":{"type":"string"}},"type":"object","additionalProperties":false}},"type":"object","additionalProperties":false},"CustomAttributesWereUpdated":{"required":["customerId","type","createdAt"],"properties":{"customerId":{"type":"string"},"type":{"type":"string","enum":["CustomAttributesWereUpdated"]},"accountId":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"flatVariables":{"required":["customAttributeKey","customAttributeValue"],"properties":{"customAttributeKey":{"type":"string"},"customAttributeValue":{"type":"string"}},"type":"object","additionalProperties":false}},"type":"object","additionalProperties":false},"CustomAttributesWereDeleted":{"required":["customerId","type","createdAt"],"properties":{"customerId":{"type":"string"},"type":{"type":"string","enum":["CustomAttributesWereDeleted"]},"accountId":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"flatVariables":{"required":["customAttributeKey"],"properties":{"customAttributeKey":{"type":"string"}},"type":"object","additionalProperties":false}},"type":"object","additionalProperties":false},"MemberAchievementCompletionCountWasDecreased":{"required":["customerId","type","createdAt"],"properties":{"customerId":{"type":"string"},"type":{"type":"string","enum":["MemberAchievementCompletionCountWasDecreased"]},"accountId":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"flatVariables":{"required":["adminId","previousCompletionCount","currentCompletionCount","achievementName"],"properties":{"adminId":{"type":"string"},"previousCompletionCount":{"type":"integer"},"currentCompletionCount":{"type":"integer"},"achievementName":{"type":"string"},"achievementId":{"type":"string"},"campaignId":{"type":"string"},"isDuplicatedByChallenge":{"description":"Present and set to true only for migrated challenge achievements","type":"boolean"}},"type":"object","additionalProperties":false}},"type":"object","additionalProperties":false},"MemberAchievementProgressWasChanged":{"required":["customerId","type","createdAt"],"properties":{"customerId":{"type":"string"},"type":{"type":"string","enum":["MemberAchievementProgressWasChanged"]},"accountId":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"flatVariables":{"required":["adminId","achievementName"],"properties":{"adminId":{"type":"string"},"achievementName":{"type":"string"},"achievementId":{"type":"string"},"campaignId":{"type":"string"},"rulesBeforeChanges":{"type":"array","items":{"required":["achievementRuleId","periodGoal","currentPeriodValue"],"properties":{"achievementRuleId":{"type":"string"},"periodGoal":{"type":"number"},"currentPeriodValue":{"type":"number"},"consecutivePeriods":{"type":"integer"},"completedConsecutivePeriods":{"type":"integer"},"periodValue":{"type":"number"}},"type":"object","additionalProperties":false}},"rulesAfterChanges":{"type":"array","items":{"required":["achievementRuleId","periodGoal","currentPeriodValue"],"properties":{"achievementRuleId":{"type":"string"},"periodGoal":{"type":"number"},"currentPeriodValue":{"type":"number"},"consecutivePeriods":{"type":"integer"},"completedConsecutivePeriods":{"type":"integer"},"periodValue":{"type":"number"}},"type":"object","additionalProperties":false}},"isDuplicatedByChallenge":{"description":"Present and set to true only for migrated challenge achievements","type":"boolean"}},"type":"object","additionalProperties":false}},"type":"object","additionalProperties":false},"MemberCustomFieldGroupDataChanged":{"required":["customerId","type","createdAt"],"properties":{"customerId":{"type":"string"},"type":{"type":"string","enum":["MemberCustomFieldGroupDataChanged"]},"accountId":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"flatVariables":{"required":["groupId","groupKey","groupName","valuesBefore","valuesAfter"],"properties":{"groupId":{"type":"string"},"groupKey":{"type":"string"},"groupName":{"type":"string"},"valuesBefore":{"type":"object","additionalProperties":true},"valuesAfter":{"type":"object","additionalProperties":true}},"type":"object","additionalProperties":false}},"type":"object","additionalProperties":false},"MemberCustomFieldGroupDataRemoved":{"required":["customerId","type","createdAt"],"properties":{"customerId":{"type":"string"},"type":{"type":"string","enum":["MemberCustomFieldGroupDataRemoved"]},"accountId":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"flatVariables":{"required":["groupId","groupKey","groupName","removedValues"],"properties":{"groupId":{"type":"string"},"groupKey":{"type":"string"},"groupName":{"type":"string"},"removedValues":{"type":"object","additionalProperties":true}},"type":"object","additionalProperties":false}},"type":"object","additionalProperties":false},"ChallengeCompleted":{"required":["customerId","type","createdAt"],"properties":{"customerId":{"type":"string"},"type":{"type":"string","enum":["ChallengeCompleted"]},"accountId":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"flatVariables":{"required":["adminId","challengeName","manuallyEdited","challengeId"],"properties":{"adminId":{"type":"string"},"manuallyEdited":{"type":"boolean"},"challengeName":{"type":"string"},"challengeId":{"type":"string"},"previousCompletionCount":{"type":"integer"},"currentCompletionCount":{"type":"integer"},"completedAt":{"type":"string"}},"type":"object","additionalProperties":false}},"type":"object","additionalProperties":false},"MemberChallengeCompletionCountWasDecreased":{"required":["customerId","type","createdAt"],"properties":{"customerId":{"type":"string"},"type":{"type":"string","enum":["MemberChallengeCompletionCountWasDecreased"]},"accountId":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"flatVariables":{"required":["adminId","previousCompletionCount","currentCompletionCount","challengeName","challengeId"],"properties":{"adminId":{"type":"string"},"previousCompletionCount":{"type":"integer"},"currentCompletionCount":{"type":"integer"},"challengeName":{"type":"string"},"challengeId":{"type":"string"}},"type":"object","additionalProperties":false}},"type":"object","additionalProperties":false},"MemberChallengeProgressWasChanged":{"required":["customerId","type","createdAt"],"properties":{"customerId":{"type":"string"},"type":{"type":"string","enum":["MemberChallengeProgressWasChanged"]},"accountId":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"flatVariables":{"required":["adminId","challengeName","challengeId"],"properties":{"adminId":{"type":"string"},"challengeName":{"type":"string"},"challengeId":{"type":"string"},"milestonesBeforeChanges":{"type":"array","items":{"required":["milestoneId","periodGoal","currentPeriodValue"],"properties":{"milestoneId":{"type":"string"},"periodGoal":{"type":"number"},"currentPeriodValue":{"type":"number"},"consecutivePeriods":{"type":"integer"},"completedConsecutivePeriods":{"type":"integer"},"periodValue":{"type":"number"}},"type":"object","additionalProperties":false}},"milestonesAfterChanges":{"type":"array","items":{"required":["milestoneId","periodGoal","currentPeriodValue"],"properties":{"milestoneId":{"type":"string"},"periodGoal":{"type":"number"},"currentPeriodValue":{"type":"number"},"consecutivePeriods":{"type":"integer"},"completedConsecutivePeriods":{"type":"integer"},"periodValue":{"type":"number"}},"type":"object","additionalProperties":false}}},"type":"object","additionalProperties":false}},"type":"object","additionalProperties":false},"BadgeCompleted":{"required":["customerId","type","createdAt"],"properties":{"customerId":{"type":"string"},"type":{"type":"string","enum":["BadgeCompleted"]},"createdAt":{"type":"string","format":"date-time"},"flatVariables":{"required":["badgeTypeId","badgeName","previousCompletedCount","currentCompletedCount"],"properties":{"badgeName":{"type":"string"},"badgeTypeId":{"type":"string"},"previousCompletedCount":{"type":"integer"},"currentCompletedCount":{"type":"integer"},"sourceName":{"type":"string"}},"type":"object","additionalProperties":false}},"type":"object","additionalProperties":false},"MemberBadgeCompletedCountWasChanged":{"required":["customerId","type","createdAt"],"properties":{"customerId":{"type":"string"},"type":{"type":"string","enum":["MemberBadgeCompletedCountWasChanged"]},"createdAt":{"type":"string","format":"date-time"},"flatVariables":{"required":["adminId","badgeName","badgeTypeId","manuallyEdited","previousCompletedCount","currentCompletedCount"],"properties":{"adminId":{"type":"string"},"manuallyEdited":{"type":"boolean"},"badgeName":{"type":"string"},"badgeTypeId":{"type":"string"},"previousCompletedCount":{"type":"integer"},"currentCompletedCount":{"type":"integer"}},"type":"object","additionalProperties":false}},"type":"object","additionalProperties":false},"IssuedRewardWasCancelled":{"required":["type","customerId","createdAt","flatVariables"],"properties":{"type":{"type":"string","enum":["IssuedRewardWasCancelled"]},"customerId":{"type":"string","format":"uuid"},"createdAt":{"type":"string","format":"date-time"},"flatVariables":{"required":["rewardId","issuedRewardId","name","cancelledAt"],"properties":{"rewardId":{"type":"string","format":"uuid"},"issuedRewardId":{"type":"string","format":"uuid"},"name":{"type":"string"},"cancelledAt":{"type":"string","format":"date-time"}},"type":"object","additionalProperties":false}},"type":"object","additionalProperties":false},"RewardFortuneWheelWasDrawn":{"required":["type","customerId","createdAt","flatVariables"],"properties":{"type":{"type":"string","enum":["RewardFortuneWheelWasDrawn"]},"customerId":{"type":"string","format":"uuid"},"createdAt":{"type":"string","format":"date-time"},"flatVariables":{"required":["rewardId","issuedRewardId","ruleName","ruleChance"],"properties":{"rewardId":{"type":"string","format":"uuid"},"rewardName":{"type":"string"},"issuedRewardId":{"type":"string","format":"uuid"},"ruleName":{"type":"string"},"ruleChance":{"type":"number","maximum":1,"minimum":0}},"type":"object","additionalProperties":false}},"type":"object","additionalProperties":false},"SearchableTotalResponse":{"required":["all","filtered","estimated"],"properties":{"all":{"type":"integer","deprecated":true},"filtered":{"type":"integer","deprecated":true},"estimated":{"description":"Field estimated is used to show that the results are estimated. It might happen when there are more than 5000 results due to performance optimization.","type":"boolean","deprecated":true}},"type":"object","deprecated":true},"ExpiredToken":{"required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"}},"type":"object"},"InvalidToken":{"required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"}},"type":"object"},"Unauthorized":{"required":["code","message"],"properties":{"code":{"type":"integer"},"message":{"type":"string"}},"type":"object"}},"responses":{"BadRequest":{"description":"Bad request.","content":{"application/json":{"schema":{"required":["code","message","errors"],"properties":{"code":{"type":"integer"},"message":{"type":"string"},"errors":{"type":"array","items":{"required":["message","parameters","plural","code","path"],"properties":{"message":{"type":"string"},"parameters":{},"plural":{"type":"integer","nullable":true},"code":{"type":"string"},"path":{"type":"string"}},"type":"object"}}},"type":"object"}}}},"AccessDenied":{"description":"Forbidden.","content":{"application/json":{"schema":{"required":["code","message"],"properties":{"code":{"type":"integer"},"message":{"type":"string"}},"type":"object"}}}},"NotFound":{"description":"Not found.","content":{"application/json":{"schema":{"required":["code","message"],"properties":{"code":{"type":"integer"},"message":{"type":"string"}},"type":"object"}}}}}},"paths":{"/api/{storeCode}/member/{member}/history":{"get":{"tags":["Member"],"summary":"Check member’s activity history","description":"<label style=\"background-color: #BFE1F6;padding:5px;\">Integration</label><br><br>\nThis method returns detailed information about a specific Campaign.\n","operationId":"_memberGetHistory","parameters":[{"$ref":"#/components/parameters/storeCode"},{"name":"member","in":"path","required":true,"schema":{"type":"string","pattern":"[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}|email=[a-zA-Z0-9!#$%&'\\.*+\\-@=?^_`{|}~;]+|phone=[0-9+]+|loyaltyCardNumber=[0-9a-zA-Z\\._-]+"}},{"name":"type","in":"query","description":"This parameter can be a simple string or a complex object. Examples:  - `type=TEST` - `type[in]=TEST&type[another]=VALUE`\n","required":false,"style":"form","explode":true,"schema":{"type":"object","additionalProperties":{"type":"string"}}},{"name":"walletType:code","in":"query","description":"Code of the wallet (e.g. default).\n","required":false,"style":"form","explode":true,"schema":{"type":"string"}},{"name":"createdAt","in":"query","description":"Date the record was created.\n","required":false,"style":"form","explode":true,"schema":{"type":"object","additionalProperties":{"type":"string","format":"date-time"}}},{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/itemsOnPage"},{"$ref":"#/components/parameters/orderBy"}],"responses":{"200":{"description":"Member history.","content":{"application/json":{"schema":{"properties":{"items":{"type":"array","items":{"discriminator":{"propertyName":"type","mapping":{"AssignedTransactionToCustomer":"#/components/schemas/AssignedTransactionToCustomer","CustomerWasActivated":"#/components/schemas/CustomerWasActivated","CustomerWasAnonymized":"#/components/schemas/CustomerWasAnonymized","CustomerWasDeactivated":"#/components/schemas/CustomerWasDeactivated","CustomerWasMovedToLevel":"#/components/schemas/CustomerWasMovedToLevel","CustomerWasRegistered":"#/components/schemas/CustomerWasRegistered","PendingPointsWereAdded":"#/components/schemas/PendingPointsWereAdded","PendingPointsWereCanceled":"#/components/schemas/PendingPointsWereCanceled","PointsWereAdded":"#/components/schemas/PointsWereAdded","PointsWereBlocked":"#/components/schemas/PointsWereBlocked","PointsWereCanceled":"#/components/schemas/PointsWereCanceled","PointsWereExpired":"#/components/schemas/PointsWereExpired","PointsWereSpent":"#/components/schemas/PointsWereSpent","PointsWereTransferred":"#/components/schemas/PointsWereTransferred","PointsWereUnblocked":"#/components/schemas/PointsWereUnblocked","PointsWereUnlocked":"#/components/schemas/PointsWereUnlocked","RewardWasBought":"#/components/schemas/RewardWasBought","AchievementCompleted":"#/components/schemas/AchievementCompleted","AssignedCustomEventToCustomer":"#/components/schemas/AssignedCustomEventToCustomer","CustomAttributeWasAdded":"#/components/schemas/CustomAttributeWasAdded","CustomAttributesWereUpdated":"#/components/schemas/CustomAttributesWereUpdated","CustomAttributesWereDeleted":"#/components/schemas/CustomAttributesWereDeleted","MemberAchievementCompletionCountWasDecreased":"#/components/schemas/MemberAchievementCompletionCountWasDecreased","MemberAchievementProgressWasChanged":"#/components/schemas/MemberAchievementProgressWasChanged","MemberCustomFieldGroupDataChanged":"#/components/schemas/MemberCustomFieldGroupDataChanged","MemberCustomFieldGroupDataRemoved":"#/components/schemas/MemberCustomFieldGroupDataRemoved","ChallengeCompleted":"#/components/schemas/ChallengeCompleted","MemberChallengeCompletionCountWasDecreased":"#/components/schemas/MemberChallengeCompletionCountWasDecreased","MemberChallengeProgressWasChanged":"#/components/schemas/MemberChallengeProgressWasChanged","BadgeCompleted":"#/components/schemas/BadgeCompleted","MemberBadgeCompletedCountWasChanged":"#/components/schemas/MemberBadgeCompletedCountWasChanged","IssuedRewardWasCancelled":"#/components/schemas/IssuedRewardWasCancelled","RewardFortuneWheelWasDrawn":"#/components/schemas/RewardFortuneWheelWasDrawn"}},"oneOf":[{"$ref":"#/components/schemas/AssignedTransactionToCustomer"},{"$ref":"#/components/schemas/CustomerWasActivated"},{"$ref":"#/components/schemas/CustomerWasAnonymized"},{"$ref":"#/components/schemas/CustomerWasDeactivated"},{"$ref":"#/components/schemas/CustomerWasMovedToLevel"},{"$ref":"#/components/schemas/CustomerWasRegistered"},{"$ref":"#/components/schemas/PendingPointsWereAdded"},{"$ref":"#/components/schemas/PendingPointsWereCanceled"},{"$ref":"#/components/schemas/PointsWereAdded"},{"$ref":"#/components/schemas/PointsWereBlocked"},{"$ref":"#/components/schemas/PointsWereCanceled"},{"$ref":"#/components/schemas/PointsWereExpired"},{"$ref":"#/components/schemas/PointsWereSpent"},{"$ref":"#/components/schemas/PointsWereTransferred"},{"$ref":"#/components/schemas/PointsWereUnblocked"},{"$ref":"#/components/schemas/PointsWereUnlocked"},{"$ref":"#/components/schemas/RewardWasBought"},{"$ref":"#/components/schemas/AchievementCompleted"},{"$ref":"#/components/schemas/AssignedCustomEventToCustomer"},{"$ref":"#/components/schemas/CustomAttributeWasAdded"},{"$ref":"#/components/schemas/CustomAttributesWereUpdated"},{"$ref":"#/components/schemas/CustomAttributesWereDeleted"},{"$ref":"#/components/schemas/MemberAchievementCompletionCountWasDecreased"},{"$ref":"#/components/schemas/MemberAchievementProgressWasChanged"},{"$ref":"#/components/schemas/MemberCustomFieldGroupDataChanged"},{"$ref":"#/components/schemas/MemberCustomFieldGroupDataRemoved"},{"$ref":"#/components/schemas/ChallengeCompleted"},{"$ref":"#/components/schemas/MemberChallengeCompletionCountWasDecreased"},{"$ref":"#/components/schemas/MemberChallengeProgressWasChanged"},{"$ref":"#/components/schemas/BadgeCompleted"},{"$ref":"#/components/schemas/MemberBadgeCompletedCountWasChanged"},{"$ref":"#/components/schemas/IssuedRewardWasCancelled"},{"$ref":"#/components/schemas/RewardFortuneWheelWasDrawn"}]}},"total":{"$ref":"#/components/schemas/SearchableTotalResponse"}},"type":"object"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ExpiredToken"},{"$ref":"#/components/schemas/InvalidToken"},{"$ref":"#/components/schemas/Unauthorized"}]}}}},"403":{"$ref":"#/components/responses/AccessDenied"},"404":{"$ref":"#/components/responses/NotFound"}}}}}}
````


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://help.openloyalty.io/api-reference/member/check-members-activity-history.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
