Profile
Patch Profile Traits
Merge one or more trait groups into an existing profile. Only the traits provided are added or updated; unspecified traits remain unchanged. Only pre-defined trait groups and traits configured for the memory store can be patched. To remove a trait entirely, set its value to null.
patch/v1/Stores/{storeId}/Profiles/{profileId}
Request body
Example request
{
"traits": {
"Contact": {
"email": "Alyssa.Mock@example.com",
"phone": "+13175551234",
"lastName": "Mock",
"firstName": "Alyssa",
"street": "123 Main St",
"city": "San Francisco",
"state": "CA",
"postalCode": "94107",
"country": "US"
}
}
}Response
Trait patch accepted.
Example response
{
"message": "Trait modifications accepted for processing."
}