---
title: Objects and fields
slug: data-platform/docs/websdk-objects-fields
docTags: 
createdAt: 2026-08-10T12:05:19.000Z
---

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](docId\:jWr_e_ykksqkpe5ZA-7fn) 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.

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

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

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