Updates details of an existing member.
Note: Only a single member can be updated at a time.
curl --request PUT \
--url https://vanilla-dev02-loyalty.fabric.zone/api/v1/members \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"profileId": "f90a1da5-c072-48b7-a9ea-eb35c5dd506b",
"firstName": "John",
"middleName": "M",
"lastName": "Williams",
"suffix": "<string>",
"gender": "Male",
"birthDate": "1980-11-30",
"emailAddress": "user@abc.com",
"phoneNumber": "923331234567",
"addressLine1": "10400 NE 4th St",
"addressLine2": "Suite 505",
"addressLine3": "null",
"city": "Bellevue",
"region": "Wisconsin",
"postalCode": "98004",
"country": "United States",
"maritalStatus": "Single",
"prefix": "Mr",
"redemptionChoice": "Auto",
"redemptionThreshold": 10,
"enrollmentStore": "www.demostore.come",
"enrollmentDate": "2021-01-15",
"lastPaidStatusCenter": "1201",
"lastPaidStatusDate": "2021-01-15",
"tierReference": "GOLD",
"tierExpirationDatetime": "2026-01-15T23:59:59.000Z",
"customAttributes": {
"joiningDate": "2021-07-26",
"confirmationDate": "2021-07-26"
}
}'
{
"message": "Member updated",
"errors": {
"ExceptionString": []
},
"data": {
"accounts": [
{
"accountStatus": "Enabled",
"clubReference": "abc_club",
"clubTitle": "ABC Club",
"customAttributes": {
"memberSinceDate": "2021-07-26",
"enrolledAtCenter": "Liberty Store",
"profileCompleted": false
},
"enrollmentEntity": "demo",
"enrollmentStatus": true,
"entityReference": "entity_level_1",
"loyaltyNumber": "10000147371",
"paidStatus": false,
"profileId": "f90a1da5-c072-48b7-a9ea-eb35c5dd506b",
"redemptionChoice": "Auto",
"redemptionThreshold": 10,
"tierExpiryDate": "2022-09-17T14:26:32.192148+00:00",
"tierExternalReference": "GLD",
"tierId": 4185,
"tierTitle": "ClubTier",
"updatedAt": "2021-11-01 12:15:53.831401+00:00"
}
],
"addressLine1": "10400 NE 4th St",
"addressLine2": "Suite 505",
"addressLine3": "",
"birthdate": "1990-11-16",
"channelExternalReference": "Web",
"city": "Austin",
"country": "US",
"emailAddress": "user@abc.com",
"enrollReasonCode": "1234",
"enrollReasonNote": "Guest",
"enrollmentTimestamp": "2021-09-14T11:32:55.508949Z",
"firstName": "John",
"fullCountry": "United States",
"fullRegion": "Texas",
"gender": "Male",
"lastName": "Wayne",
"maritalStatus": "None",
"middleName": "Duke",
"nationality": "",
"phoneNumber": "923331234567",
"postalCode": "98004",
"prefix": "Mr",
"region": "TX",
"sourceExternalReference": "www.abcdemo.com",
"suffix": "<string>"
},
"status": 200
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Details to update in the member information. Fields that are allowed to update are governed by company configuration.
Member updated
Response for the member update request
Was this page helpful?
curl --request PUT \
--url https://vanilla-dev02-loyalty.fabric.zone/api/v1/members \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"profileId": "f90a1da5-c072-48b7-a9ea-eb35c5dd506b",
"firstName": "John",
"middleName": "M",
"lastName": "Williams",
"suffix": "<string>",
"gender": "Male",
"birthDate": "1980-11-30",
"emailAddress": "user@abc.com",
"phoneNumber": "923331234567",
"addressLine1": "10400 NE 4th St",
"addressLine2": "Suite 505",
"addressLine3": "null",
"city": "Bellevue",
"region": "Wisconsin",
"postalCode": "98004",
"country": "United States",
"maritalStatus": "Single",
"prefix": "Mr",
"redemptionChoice": "Auto",
"redemptionThreshold": 10,
"enrollmentStore": "www.demostore.come",
"enrollmentDate": "2021-01-15",
"lastPaidStatusCenter": "1201",
"lastPaidStatusDate": "2021-01-15",
"tierReference": "GOLD",
"tierExpirationDatetime": "2026-01-15T23:59:59.000Z",
"customAttributes": {
"joiningDate": "2021-07-26",
"confirmationDate": "2021-07-26"
}
}'
{
"message": "Member updated",
"errors": {
"ExceptionString": []
},
"data": {
"accounts": [
{
"accountStatus": "Enabled",
"clubReference": "abc_club",
"clubTitle": "ABC Club",
"customAttributes": {
"memberSinceDate": "2021-07-26",
"enrolledAtCenter": "Liberty Store",
"profileCompleted": false
},
"enrollmentEntity": "demo",
"enrollmentStatus": true,
"entityReference": "entity_level_1",
"loyaltyNumber": "10000147371",
"paidStatus": false,
"profileId": "f90a1da5-c072-48b7-a9ea-eb35c5dd506b",
"redemptionChoice": "Auto",
"redemptionThreshold": 10,
"tierExpiryDate": "2022-09-17T14:26:32.192148+00:00",
"tierExternalReference": "GLD",
"tierId": 4185,
"tierTitle": "ClubTier",
"updatedAt": "2021-11-01 12:15:53.831401+00:00"
}
],
"addressLine1": "10400 NE 4th St",
"addressLine2": "Suite 505",
"addressLine3": "",
"birthdate": "1990-11-16",
"channelExternalReference": "Web",
"city": "Austin",
"country": "US",
"emailAddress": "user@abc.com",
"enrollReasonCode": "1234",
"enrollReasonNote": "Guest",
"enrollmentTimestamp": "2021-09-14T11:32:55.508949Z",
"firstName": "John",
"fullCountry": "United States",
"fullRegion": "Texas",
"gender": "Male",
"lastName": "Wayne",
"maritalStatus": "None",
"middleName": "Duke",
"nationality": "",
"phoneNumber": "923331234567",
"postalCode": "98004",
"prefix": "Mr",
"region": "TX",
"sourceExternalReference": "www.abcdemo.com",
"suffix": "<string>"
},
"status": 200
}