Set interaction facets
Version:
Use the client.SetFacet() extension method to set interaction facets. You cannot update an interaction’s facets.
When you use a default facet value, the value isn't stored in the shard databases (xDB). Instead, the default value is populated when the facet is retrieved using xConnect. Examples of default values include false for a Boolean field, and 0 for an int32 type field.
The following example demonstrates how to set the LocaleInfo facet on a new interaction: