You can change the email address of an existing contact in Ometria via the Contact API, either using the customer_ID or the contact listing ID.
You can also change an individual contact's email address in the Contact details screen in the app.
It's very important to make sure the following are consistent:
- The collection - this value must be the same for both records passed
- The contact listing ID - this value must be the same for both records passed
or
-
The customer_ID - this value must be the same for both records passed
Changing an email address with customer_ID
Create this record first, containing a collection, an ID, a customer_id and an email address (the values in the code block are examples only):
[
{
"@collection": "default",
"@type": "contact",
"timestamp_acquired": "2018-04-19T09:00:00+00",
"id": "uuid_4567",
"customer_id": "uuid_4567",
"email": "bob@ometria.com",
"marketing_optin": "EXPLICITLY_OPTEDIN",
"@force_optin": true
}
]
Then submit this record (in a different payload) with the email address updated:
[
{
"@collection": "default",
"@type": "contact",
"id": "uuid_4567",
"customer_id": "uuid_4567",
"email": "bobby@ometria.com"
}
]
Changing an email address without a customer_ID
Create this record first, containing a collection, ID and an email address (the values in the code block are examples only):
[
{
"@collection": "Default",
"@type": "contact",
"id": "uuid_4576",
"email": "john@ometria.com"
}
]
Submit this record after the first record (in a different payload) with the email address updated:
[
{
"@collection": "Default",
"@type": "contact",
"id": "uuid_4576",
"email": "johnny@ometria.com"
}
]
Comments
0 comments
Please sign in to leave a comment.