Skip to main content

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 newMemberData object

Request Format​

Headers​

NameTypeRequiredDescription
x-source-typestringβœ…Source type (e.g., POS, Web, Kiosk)
x-source-namestringβœ…Name of client/integration system
x-pos-idstringβœ…POS terminal identifier
x-branch-idstringβœ…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"
}
}
}
  • Updating member profile after form submission
  • Changing member notification preferences
  • Fixing incorrect personal data via support