updateMember Call
Descriptionβ
Purposeβ
This API call allows updating details of an existing member in the loyalty program.
- Update memberβs profile, contact information, or permissions.
- Send only the fields that need to be updated.
When to Useβ
- When a user updates their profile info, contact, or preferences
- During customer support operations to correct user records
π Notesβ
- Only include fields you want to update β leave out fields that are unchanged
- Do not send empty or null fields in the
newMemberDataobject
Request Formatβ
Headersβ
| Name | Type | Required | Description |
|---|---|---|---|
x-source-type | string | β | Source type (e.g., POS, Web, Kiosk) |
x-source-name | string | β | Name of client/integration system |
x-pos-id | string | β | POS terminal identifier |
x-branch-id | string | β | Business branch/location identifier |
Bodyβ
{
"member": {
"phoneNumber": "1234567890"
},
"newMemberData": {
"phoneNumber": "1234567890",
"email": "member@example.com",
"firstName": "John",
"lastName": "Doe",
"allowedSMS": true,
"allowedEmail": true,
"termsOfUse": true,
"gdpr": true,
"birthday": "1990-01-01"
}
}
Response Formatβ
{
"status": "success",
"data": {
"member": {
"phoneNumber": "1234567890",
"email": "member@example.com",
"firstName": "John",
"lastName": "Doe",
"allowedSMS": true,
"allowedEmail": true,
"termsOfUse": true,
"gdpr": true,
"birthday": "1990-01-01"
}
}
}
Error Exampleβ
{
"status": "error",
"error": {
"code": "MEMBER_NOT_FOUND",
"message": "Member not found with the given identifier",
"details": {
"phoneNumber": "1234567890"
}
}
}
Related Use Casesβ
- Updating member profile after form submission
- Changing member notification preferences
- Fixing incorrect personal data via support