--- title: "Update Object" slug: "update-object" updated: 2025-10-23T17:23:54Z published: 2025-10-23T17:23:54Z canonical: "docs.team-tracks.com/update-object" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.team-tracks.com/llms.txt > Use this file to discover all available pages before exploring further. # Update Object The 'update object' API is used to update one object using a TeamTracks Edit view. This is a PUT request where the object values are passed in JSON in the request body. The API returns '200 OK' when successful. ## Update Object [EP-2] The following PUT endpoint updates an object based on a specific edit view: Only fields present in the edit view will be updated. All other fields in the body will be ignored. ```markup https://api.team-tracks.com/object/{viewId}/{objectId} ``` This endpoint requires the id of an **edit view** in the system and the id of the object to be updated. Like creating an object, the field values are passed in the request body as JSON as below. ```json { "objectValues": { "DMR Number": "DD1213", "DMR Issued?": true, } } ``` The call should include the below headers. ```none Authorization: "Bearer " tenant: Ocp-Apim-Subscription-Key: ``` ### Field Value formats The expected format of the field values depends on the type of the field and is as below: | **Field Type** | **JSON Format** | | --- | --- | | **Text** | String | | **Int** | Number (without decimals) | | **Float** | Number | | **Bool** | Boolean | | **Choice** | String (valid choice defined on field) | | **Date** | Number in Unix epoch time format (in milliseconds) | | **DateTime** | Number in Unix epoch time format (in milliseconds) | | **Multichoice** | Array of strings (strings must be valid choices defined on the field) | ## Related - [ List of Objects](/list-of-objects.md) - [Identifying ViewIDs](/identifying-viewids.md) - [Overview of Public API](/overview-of-public-api.md)