Update Member
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"
}
}
'import requests
url = "https://vanilla-dev02-loyalty.fabric.zone/api/v1/members"
payload = {
"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"
}
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
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'}
})
};
fetch('https://vanilla-dev02-loyalty.fabric.zone/api/v1/members', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://vanilla-dev02-loyalty.fabric.zone/api/v1/members",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'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'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://vanilla-dev02-loyalty.fabric.zone/api/v1/members"
payload := strings.NewReader("{\n \"profileId\": \"f90a1da5-c072-48b7-a9ea-eb35c5dd506b\",\n \"firstName\": \"John\",\n \"middleName\": \"M\",\n \"lastName\": \"Williams\",\n \"suffix\": \"<string>\",\n \"gender\": \"Male\",\n \"birthDate\": \"1980-11-30\",\n \"emailAddress\": \"user@abc.com\",\n \"phoneNumber\": \"923331234567\",\n \"addressLine1\": \"10400 NE 4th St\",\n \"addressLine2\": \"Suite 505\",\n \"addressLine3\": \"null\",\n \"city\": \"Bellevue\",\n \"region\": \"Wisconsin\",\n \"postalCode\": \"98004\",\n \"country\": \"United States\",\n \"maritalStatus\": \"Single\",\n \"prefix\": \"Mr\",\n \"redemptionChoice\": \"Auto\",\n \"redemptionThreshold\": 10,\n \"enrollmentStore\": \"www.demostore.come\",\n \"enrollmentDate\": \"2021-01-15\",\n \"lastPaidStatusCenter\": \"1201\",\n \"lastPaidStatusDate\": \"2021-01-15\",\n \"tierReference\": \"GOLD\",\n \"tierExpirationDatetime\": \"2026-01-15T23:59:59.000Z\",\n \"customAttributes\": {\n \"joiningDate\": \"2021-07-26\",\n \"confirmationDate\": \"2021-07-26\"\n }\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.put("https://vanilla-dev02-loyalty.fabric.zone/api/v1/members")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"profileId\": \"f90a1da5-c072-48b7-a9ea-eb35c5dd506b\",\n \"firstName\": \"John\",\n \"middleName\": \"M\",\n \"lastName\": \"Williams\",\n \"suffix\": \"<string>\",\n \"gender\": \"Male\",\n \"birthDate\": \"1980-11-30\",\n \"emailAddress\": \"user@abc.com\",\n \"phoneNumber\": \"923331234567\",\n \"addressLine1\": \"10400 NE 4th St\",\n \"addressLine2\": \"Suite 505\",\n \"addressLine3\": \"null\",\n \"city\": \"Bellevue\",\n \"region\": \"Wisconsin\",\n \"postalCode\": \"98004\",\n \"country\": \"United States\",\n \"maritalStatus\": \"Single\",\n \"prefix\": \"Mr\",\n \"redemptionChoice\": \"Auto\",\n \"redemptionThreshold\": 10,\n \"enrollmentStore\": \"www.demostore.come\",\n \"enrollmentDate\": \"2021-01-15\",\n \"lastPaidStatusCenter\": \"1201\",\n \"lastPaidStatusDate\": \"2021-01-15\",\n \"tierReference\": \"GOLD\",\n \"tierExpirationDatetime\": \"2026-01-15T23:59:59.000Z\",\n \"customAttributes\": {\n \"joiningDate\": \"2021-07-26\",\n \"confirmationDate\": \"2021-07-26\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://vanilla-dev02-loyalty.fabric.zone/api/v1/members")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"profileId\": \"f90a1da5-c072-48b7-a9ea-eb35c5dd506b\",\n \"firstName\": \"John\",\n \"middleName\": \"M\",\n \"lastName\": \"Williams\",\n \"suffix\": \"<string>\",\n \"gender\": \"Male\",\n \"birthDate\": \"1980-11-30\",\n \"emailAddress\": \"user@abc.com\",\n \"phoneNumber\": \"923331234567\",\n \"addressLine1\": \"10400 NE 4th St\",\n \"addressLine2\": \"Suite 505\",\n \"addressLine3\": \"null\",\n \"city\": \"Bellevue\",\n \"region\": \"Wisconsin\",\n \"postalCode\": \"98004\",\n \"country\": \"United States\",\n \"maritalStatus\": \"Single\",\n \"prefix\": \"Mr\",\n \"redemptionChoice\": \"Auto\",\n \"redemptionThreshold\": 10,\n \"enrollmentStore\": \"www.demostore.come\",\n \"enrollmentDate\": \"2021-01-15\",\n \"lastPaidStatusCenter\": \"1201\",\n \"lastPaidStatusDate\": \"2021-01-15\",\n \"tierReference\": \"GOLD\",\n \"tierExpirationDatetime\": \"2026-01-15T23:59:59.000Z\",\n \"customAttributes\": {\n \"joiningDate\": \"2021-07-26\",\n \"confirmationDate\": \"2021-07-26\"\n }\n}"
response = http.request(request)
puts response.read_body{
"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
}{
"message": "Error message string",
"errors": {
"ExceptionString": [
"Invalid Field"
]
},
"data": null,
"status": 400
}{
"detail": "Authentication Failed"
}Members
Update Member
Updates details of an existing member.
Note: Only a single member can be updated at a time.
PUT
/
v1
/
members
Update Member
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"
}
}
'import requests
url = "https://vanilla-dev02-loyalty.fabric.zone/api/v1/members"
payload = {
"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"
}
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
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'}
})
};
fetch('https://vanilla-dev02-loyalty.fabric.zone/api/v1/members', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://vanilla-dev02-loyalty.fabric.zone/api/v1/members",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'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'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://vanilla-dev02-loyalty.fabric.zone/api/v1/members"
payload := strings.NewReader("{\n \"profileId\": \"f90a1da5-c072-48b7-a9ea-eb35c5dd506b\",\n \"firstName\": \"John\",\n \"middleName\": \"M\",\n \"lastName\": \"Williams\",\n \"suffix\": \"<string>\",\n \"gender\": \"Male\",\n \"birthDate\": \"1980-11-30\",\n \"emailAddress\": \"user@abc.com\",\n \"phoneNumber\": \"923331234567\",\n \"addressLine1\": \"10400 NE 4th St\",\n \"addressLine2\": \"Suite 505\",\n \"addressLine3\": \"null\",\n \"city\": \"Bellevue\",\n \"region\": \"Wisconsin\",\n \"postalCode\": \"98004\",\n \"country\": \"United States\",\n \"maritalStatus\": \"Single\",\n \"prefix\": \"Mr\",\n \"redemptionChoice\": \"Auto\",\n \"redemptionThreshold\": 10,\n \"enrollmentStore\": \"www.demostore.come\",\n \"enrollmentDate\": \"2021-01-15\",\n \"lastPaidStatusCenter\": \"1201\",\n \"lastPaidStatusDate\": \"2021-01-15\",\n \"tierReference\": \"GOLD\",\n \"tierExpirationDatetime\": \"2026-01-15T23:59:59.000Z\",\n \"customAttributes\": {\n \"joiningDate\": \"2021-07-26\",\n \"confirmationDate\": \"2021-07-26\"\n }\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.put("https://vanilla-dev02-loyalty.fabric.zone/api/v1/members")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"profileId\": \"f90a1da5-c072-48b7-a9ea-eb35c5dd506b\",\n \"firstName\": \"John\",\n \"middleName\": \"M\",\n \"lastName\": \"Williams\",\n \"suffix\": \"<string>\",\n \"gender\": \"Male\",\n \"birthDate\": \"1980-11-30\",\n \"emailAddress\": \"user@abc.com\",\n \"phoneNumber\": \"923331234567\",\n \"addressLine1\": \"10400 NE 4th St\",\n \"addressLine2\": \"Suite 505\",\n \"addressLine3\": \"null\",\n \"city\": \"Bellevue\",\n \"region\": \"Wisconsin\",\n \"postalCode\": \"98004\",\n \"country\": \"United States\",\n \"maritalStatus\": \"Single\",\n \"prefix\": \"Mr\",\n \"redemptionChoice\": \"Auto\",\n \"redemptionThreshold\": 10,\n \"enrollmentStore\": \"www.demostore.come\",\n \"enrollmentDate\": \"2021-01-15\",\n \"lastPaidStatusCenter\": \"1201\",\n \"lastPaidStatusDate\": \"2021-01-15\",\n \"tierReference\": \"GOLD\",\n \"tierExpirationDatetime\": \"2026-01-15T23:59:59.000Z\",\n \"customAttributes\": {\n \"joiningDate\": \"2021-07-26\",\n \"confirmationDate\": \"2021-07-26\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://vanilla-dev02-loyalty.fabric.zone/api/v1/members")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"profileId\": \"f90a1da5-c072-48b7-a9ea-eb35c5dd506b\",\n \"firstName\": \"John\",\n \"middleName\": \"M\",\n \"lastName\": \"Williams\",\n \"suffix\": \"<string>\",\n \"gender\": \"Male\",\n \"birthDate\": \"1980-11-30\",\n \"emailAddress\": \"user@abc.com\",\n \"phoneNumber\": \"923331234567\",\n \"addressLine1\": \"10400 NE 4th St\",\n \"addressLine2\": \"Suite 505\",\n \"addressLine3\": \"null\",\n \"city\": \"Bellevue\",\n \"region\": \"Wisconsin\",\n \"postalCode\": \"98004\",\n \"country\": \"United States\",\n \"maritalStatus\": \"Single\",\n \"prefix\": \"Mr\",\n \"redemptionChoice\": \"Auto\",\n \"redemptionThreshold\": 10,\n \"enrollmentStore\": \"www.demostore.come\",\n \"enrollmentDate\": \"2021-01-15\",\n \"lastPaidStatusCenter\": \"1201\",\n \"lastPaidStatusDate\": \"2021-01-15\",\n \"tierReference\": \"GOLD\",\n \"tierExpirationDatetime\": \"2026-01-15T23:59:59.000Z\",\n \"customAttributes\": {\n \"joiningDate\": \"2021-07-26\",\n \"confirmationDate\": \"2021-07-26\"\n }\n}"
response = http.request(request)
puts response.read_body{
"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
}{
"message": "Error message string",
"errors": {
"ExceptionString": [
"Invalid Field"
]
},
"data": null,
"status": 400
}{
"detail": "Authentication Failed"
}Authorizations
Body
application/json
Details to update in the member information. Fields that are allowed to update are governed by company configuration.
Redemption options are Bank and Auto. If the redemptionChoice is Auto the points are automatically converted to rewards. When the redemptionChoice is Bank the points are converted to rewards at the member’s request.
Available options:
Bank, Auto Minimum string length:
1Example:
"Auto"
Response
Member updated
Response for the member update request
Was this page helpful?
