Custom Fields
Retrieve a custom field
Changed onget/api/custom-fields/{id}
Request
- Base URLhttps://your-domain.gorgias.com
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idinteger required
The ID of the custom field to retrieve.
Response
The requested custom field.
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