- Overview
- Reference
- API Structure
- Public API
- Introduction
- Loyalty Club
- Member
- Offers
- Rewards
- Games
- CMS Content
- Management API
- Introduction
- Core
- Applications
- Branding
- Privacy Policy
- Cookie Policy
- Terms
- Domains
- Domain Email Configs
- Domain Web Configs
- TLS Certificates
- Links
- Fonts
- Subunits
- Subunits Scopes
- Contacts
- Translations
- Promotions Policy
- Tracker
- Social Logins
- Billing
- SMS Sender Identities
- Member Authentication Configuration
- Members
- Listing Members
- Member Profile
- Public Info
- Person ID
- Cars
- Children
- Groups
- Programs
- Benefits
- Offers
- Rewards
- Export
- Misc
- Create MemberPOST
- Update MemberPUT
- Validate MemberPOST
- Register Member App TokenPOST
- Show MemberGET
- Show Member By MSISDNGET
- Show Member By EmailGET
- Show Member By Encrypted IDGET
- Show Member By User IDGET
- Destroy MemberDELETE
- Imports
- Groups
- Programs
- Benefits
- Cars
- Webhooks
- Misc
- Receipts
- Messages
- Stores
- Offers
- Rewards
- Triggerer
- CMS
- Introduction
- Venue Info
- Pages
- Website
- Landing Pages
- Articles
- Events
- Job Postings
- Press Releases
- Tags
- Attachments
- Service Messages
- Mixed Content
- Redirections
- Events
- Games
- Scraper
- Files
- Receipts
- Users API
- Operations API
- Introduction
- Manager API
- Tenant API
- Messaging API
- Data API
- ML API
- Introduction
- Predict Sending KPI v1
- Explain Sending KPI Prediction v1
- Predict Sending KPI In Date Range v1
- Predict Sending Popularity v2
- Predict Sending Text Popularity v2
- Predict Sending Time Series Popularity v2
- Explain Sending Popularity Prediction v2
- Explain Sending Text Popularity Prediction v2
- Explain Sending Time Series Popularity Prediction v2
- Recommend sending time v2
- Detect Receipt Fraud
- Generate Image
- Generate Text
- Generate Sending Text
- Predict Sending KPI v1 Copy
- (Draft) Reporting API
- Other
Show Member Profile History
Pending
GET
https://api.mpc.dev.placewise.com/v1/members/{member_id}/profile_history
API Permit:BL:Api:Members:ChangesHistory:Index
API Context:Loyalty Club
Authorizations:UserToken
Member profile change model#
Key | Type | Description |
---|---|---|
id | UUID | |
created_at | ISO 8601 DateTime | When the change has been made |
source | string | Product that made the change |
changes | Object[] | |
changes[].attribute | string | Name of member attribute that has been changed |
changes[].change | string | Type of change on attribute: + when added, - when removed, ~ when modified |
changes[].values | Object | Values of attribute. Not present when attribute contains personal data. |
changes[].values.before | (mixed) | Value of attribute before the change. Not present when the change is + |
changes[].values.after | (mixed) | Value of attribute after the change. Not present when the change is - |
Query Parameters#
Parameter | Type | Required? | Default | Description |
---|---|---|---|---|
per_page | integer | no | 100 | Number of results to be returned per request (100 is the maximum) |
page_no | integer | no | 1 | Number of results page |
created_after | ISO 8601 DateTime | no | null | When present, it returns only changes introduced after this date |
created_before | ISO 8601 DateTime | no | null | When present, it returns only changes introduced before this date |
attributes | string[] | no | null | When present, it returns only changes to given attributes |
source | string | no | null | When present, it returns only changes introduced by this source |
Response Body#
Key | Type | Description |
---|---|---|
changes | ProfileChange[] | Array of ProfileChange |
pagination_info | Pagination | Pagination object |
Example#
{
"changes": [
{
"id": "c34df69e-6c9f-4dfa-8301-154e9a04ef08 ",
"created_at": "2022-04-04T10:53:26.323Z",
"source": "android",
"changes": [
{ "attribute": "consents.dmp_profiling", "change": "+", "values": { "before": null, "after": false } },
{ "attribute": "consents.sms_marketing", "change": "+", "values": { "before": null, "after": true } },
{ "attribute": "msisdn", "change": "-" },
{ "attribute": "email", "change": "~" },
{ "attribute": "first_name", "change": "-", "values": { "before": "Piotr", "after": null } },
{ "attribute": "language", "change": "~", "values": { "before": "en", "after": "no" } },
{ "attribute": "push_status", "change": "~", "values": { "before": "enabled", "after": "disabled" } },
{ "attribute": "subunit_ids", "change": "~", "values": { "before": [], "after": [1, 2] } }
]
}
],
"pagination_info": {} // Pagination info - see 'Pagination info"
}
Request
Path Params
member_id
integerÂ
required
Example:
1
Header Params
X-Loyalty-Club-Slug
stringÂ
required
Default:
{{LOYALTY_CLUB_SLUG}}
X-Client-Authorization
stringÂ
optional
Default:
{{API_TOKEN}}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.mpc.dev.placewise.com/v1/members/1/profile_history' \
--header 'X-User-Agent;' \
--header 'X-Product-Name;' \
--header 'X-Loyalty-Club-Slug;' \
--header 'X-Customer;' \
--header 'Authorization;' \
--header 'X-Client-Authorization: '
Responses
🟢200Success
application/json
Body
object {0}
Example
{}
Modified at 2024-05-07 15:48:35