Custom Fields
Bulk update a list of custom fields
Changed onput/api/custom-fields
Request
- Base URLhttps://your-domain.gorgias.com
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
[
{
"external_id": "custom-field-84203241",
"label": "Test field",
"description": "An amazing field description.",
"priority": 1,
"required": true,
"definition": {
"input_settings": {
"placeholder": "Enter this here..."
}
},
"deactivated_datetime": "2021-01-02T03:04:05.123456"
}
]Response
The updated custom fields.
Example response
[
{
"id": 123,
"external_id": "custom-field-84203241",
"label": "Test field",
"description": "An amazing field description.",
"priority": 1,
"required": true,
"definition": {
"input_settings": {
"placeholder": "Enter this here..."
}
},
"created_datetime": "2019-01-02T03:04:05.123456",
"updated_datetime": "2020-01-02T03:04:05.123456",
"deactivated_datetime": "2021-01-02T03:04:05.123456"
}
]Changes
- info
added the required property
/to the response with the status
- info