# 수정

## 레코드 수정하기 <a href="#update-record" id="update-record"></a>

{% hint style="info" %}
개별 오브젝트의 {slug} 정보는 [slug](https://docs.trackit.so/integrations/http-api/slug) 페이지에서 확인할 수 있습니다.
{% endhint %}

<pre class="language-url"><code class="lang-url"><a data-footnote-ref href="#user-content-fn-1">PUT</a> https://api.trackit.so/v1/objects/{slug}/records
</code></pre>

## Request Body

{% hint style="danger" %}
여러 개의 레코드가 수정될 수 있습니다. API 호출 전 여러 개의 레코드 수정에 문제가 없는지 확인하세요.\
여러 개의 레코드가 수정될 필요가 없거나 우려가 된다면 'allowMultiple' 필드를 false로 등록하세요.
{% endhint %}

* filter : 필터로 검색 후 일치하는 모든 정보를 아래 'values'에 포함된 값으로 수정합니다.
* values : 수정할 레코드의 속성 정보를 포함하는 객체입니다.
* allowMultiple : 필터에서 검색된 결과가 2개 이상일 때 모든 레코드를 수정할 지 여부 (true, false)

**예시** : 이메일 주소와 일치하는 모든 '고객' 정보를 values 객체에 포함된 정보로 수정

```json

{
    "filter": {
        "email-addresses": ["jang.toss@toss.im"]
    },
    "values": {
        "name": "한토스",
        "linkedin" : "https://linkedin.com/in/hantoss",
        "email-addresses": ["jang2.toss@toss.im"]
    }
}
```

**속성명 확인**

레코드의 각 속성명은 '설정 > 워크스페이스 > API' 메뉴에서 확인할 수 있습니다.

<figure><img src="/files/vbTNRjrj5xWTpyECfNLn" alt=""><figcaption><p>노출 속성명, API 속성명 확인 방법</p></figcaption></figure>

## Error Handling

[에러 처리](/integrations/http-api/error-handling.md) 페이지를 참고하세요.

[^1]: PUT


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.trackit.so/integrations/http-api/update.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
