# Update background check customized fields

Updates the form custom field names and descriptions that the user displays when initiating a back call.

**Notice**：* The update operation will affect the display of the initiated backtune form, but will not affect the actual backtune content.
The update operation only allows updating the names and descriptions of existing fields, does not support updating field types, and does not allow adding or deleting custom fields.

## Request

Facts | &nbsp;
---|---
HTTP URL | https://open.feishu.cn/open-apis/hire/v1/eco_background_check_custom_fields/batch_update
HTTP Method | PATCH
Rate Limit | [1000 per minute、50 per second](https://open.feishu.cn/document/ukTMukTMukTM/uUzN04SN3QjL1cDN)
Supported app types | Custom App、Store App
Required scopes<br>**To use this API, you must have at least 1 of the listed scopes.** | Update hire background check information(hire:background_check_order)

### Request header

Parameter | Type | Required | Description
---|---|---|---
Authorization | string | Yes | `tenant_access_token`<br>**Value format**: "Bearer `access_token`"<br>**Example value**: "Bearer t-7f1bcd13fc57d46bac21793a18e560"<br>[How to choose and get access token](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-choose-which-type-of-token-to-use)
Content-Type | string | Yes | **Fixed value**: "application/json; charset=utf-8"

### Request body

Parameter | Type | Required | Description
---|---|---|---
account_id | string | Yes | The account ID can be obtained through the [account binding](https://open.feishu.cn/document/ukTMukTMukTM/uMzM1YjLzMTN24yMzUjN/hire-v1/eco_account/events/created) event<br>**Example value**: "6995842370159937061"
custom_field_list | eco_background_check_custom_field_data\[\] | Yes | Custom field list.<br>**Note**: The list length must be the same as the one passed in when [Create Backtone Custom Field](https://open.feishu.cn/document/ukTMukTMukTM/uMzM1YjLzMTN24yMzUjN/hire-v1/eco_background_check_custom_field/create)
type | string | Yes | Custom Field Data<br>**Example value**: "select"<br>**Optional values are**:<br>- text：Single line of text, up to 100 Chinese characters<br>- textarea：Multi-line text, up to 200 Chinese characters<br>- number：number<br>- boolean：Boolean<br>- select：radio<br>- multiselect：multiple choice<br>- date：date<br>- file：Annex<br>- resume：Candidate resume
key | string | Yes | The identity of a custom field, unique within the same account<br>**Example value**: "candidate_degree"
name | i18n | Yes | Name
zh_cn | string | No | Chinese name<br>**Example value**: "候选人学历"
en_us | string | No | English name<br>**Example value**: "Candidate's degree"
is_required | boolean | Yes | Is Reuqired<br>**Example value**: true
description | i18n | No | Description
zh_cn | string | No | Chinese description<br>**Example value**: "候选人真实学历"
en_us | string | No | English description<br>**Example value**: "The candidate's real degree"
options | eco_background_check_custom_field_data_option\[\] | No | Options
key | string | Yes | Unique identifier of the option<br>**Example value**: "bachelor"
name | i18n | Yes | Name
zh_cn | string | No | Chinese name<br>**Example value**: "本科"
en_us | string | No | English name<br>**Example value**: "Bachelor"

### Request body example
```json
{
    "account_id": "6995842370159937061",
    "custom_field_list": [
        {
            "type": "select",
            "key": "candidate_degree",
            "name": {
                "zh_cn": "候选人学历",
                "en_us": "Candidate's degree"
            },
            "is_required": true,
            "description": {
                "zh_cn": "候选人真实学历",
                "en_us": "The candidate's real degree"
            },
            "options": [
                {
                    "key": "bachelor",
                    "name": {
                        "zh_cn": "本科",
                        "en_us": "Bachelor"
                    }
                }
            ]
        }
    ]
}
```

## Response

### Response body

Parameter | Type | Description
---|---|---
code | int | Error codes, fail if not zero
msg | string | Error descriptions
data | \- | \-

### Response body example
```json
{
    "code": 0,
    "msg": "success",
    "data": {}
}
```

### Error code

HTTP status code | Error code | Description | Troubleshooting suggestions
---|---|---|---
400 | 1002001 | Parameter error or system exception | Please locate the problem according to the actual error message or contact [Technical Support(https://applink.feishu.cn/TLJpeNdW)

