curl --request PATCH \
--url https://{host}/member/v1/members/{memberId} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"gender": "Female",
"firstName": "Jane",
"lastName": "Doe",
"birthdate": "1990-01-01",
"selectedStoreId": "123",
"email": "newemail@example.com",
"phone": "123456789",
"address": {
"zipCode": "12345",
"city": "ExampleCity",
"addressLine1": "123 Example St",
"addressLine2": "Apt 4B",
"region": "ExampleRegion",
"countryCode": "US"
},
"metadata": {
"PreferredLanguage": "ENG"
},
"loyaltyProgram": "Gold",
"isEmployee": true,
"nationality": "US",
"deceased": false,
"homeTelephone": "+1-555-0123",
"isMembershipFeePaid": true,
"personalId": "12345678",
"customProperties": {
"tier": "Gold",
"score": 42,
"dateRegistered": "2024-01-15T09:00:00Z"
}
}
'