v2

latestOpenAPI 3.0.02026-08-07103189636.5 KB
Jobs

Update custom field in account

Updates custom field in account using field UID specified.

put/jobs-api/v3/accounts/{accountUid}/custom-fields/{fieldUid}

Path parameters

accountUidstring required

The account’s unique identifier. This can be found in the Smartling Dashboard under Account Settings > API.

fieldUidstring required

A unique identifier for a custom field.

Request body

fieldNameboolean

custom field name.

enabledboolean

is custom field enabled.

requiredboolean

is custom field required during job creation.

searchableboolean

can search be performed by the custom field.

displayToTranslatorsboolean

is displayed to translators.

optionsstring[]
defaultValuestring

default value for custom field.

descriptionstring

custom field description.

Example request

{
  "enabled": true,
  "required": true,
  "searchable": true,
  "displayToTranslators": true,
  "defaultValue": "default field value",
  "description": "Custom field example"
}

Response

OK

Example response

{
  "data": {
    "fieldUid": "ngahq6dgh4ed",
    "type": "SHORT_TEXT | LONG_TEXT | SELECTBOX | CHECKBOX",
    "enabled": true,
    "required": true,
    "searchable": true,
    "displayToTranslators": true,
    "defaultValue": "default field value",
    "description": "Custom field example"
  }
}