HomeGuidesAPI ReferenceGraphQL
Submit Documentation FeedbackJoin Developer CommunityOptimizely GitHubOptimizely NuGetLog In

Legacy Attribute Function

This topic describes updating customer records via the legacy attribute function in Optimizely Data Platform (ODP).

This function is still accepted for updating customer records where it is not desirable to include the vuid (cookie id) automatically. Otherwise, please refer to the new Customer function for the latest.

zaius.entity("customer", {
    email: "[email protected]",
    first_name: "Johnny",
    last_name: "Zaius",
    gender: "M"
    // any custom fields you've created can be added here
});

Did this page help you?