Disclaimer: This website requires Please enable JavaScript in your browser settings for the best experience.

Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideGitHubDev CommunityOptimizely AcademySubmit a ticketLog In
Dev Guide

Objects and fields

Data in Optimizely Data Platform (ODP) is stored in collections called objects (also known as a database table). Objects are composed of fields. Fields allow storing custom metadata on any ODP object. See also Objects and Fields in Understand ODP.

Update a field on an object

Call the object() method to update your field value on an object.

For example, suppose there is already a zendesk_tickets object in ODP, the following code sample shows how to update the status to open on that ticket.

zaius.object({
  type: "zendesk_tickets", 
  {ticket_id: "12345", status: "open"}
});


The following example shows how to update multiple tickets at once:

zaius.object({
  type: "zendesk_tickets",[
    {ticket_id: "12345", status: "open"}, 
    {ticket_id: "56789", status: "closed"}
  ]
});

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy