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 alsoObjects and Fields in Understand ODP.
Update a field on an object
Call theobject() method to update your field value on an object.
For example, suppose there is already azendesk_tickets object in ODP, the following code sample shows how to update thestatus toopen 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"} ]});Updated 26 days ago