Jobs

Update custom field in account

Changed on

Updates custom field in account using field UID specified.

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

Request

  • Base URL
    https://api.smartling.com
  • Auth
    HTTP bearer

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

{
  "fieldName": true,
  "enabled": true,
  "required": true,
  "searchable": true,
  "displayToTranslators": true,
  "options": [
    "option1"
  ],
  "defaultValue": "default field value",
  "description": "Custom field example"
}

Response

OK

Example response

{
  "data": {
    "fieldUid": "7a1f5c2e-3b9d-4e8a-9c64-2d0b8f1e5a37",
    "type": "SHORT_TEXT | LONG_TEXT | SELECTBOX | CHECKBOX",
    "fieldName": true,
    "enabled": true,
    "required": true,
    "searchable": true,
    "displayToTranslators": true,
    "options": [
      "option1"
    ],
    "defaultValue": "default field value",
    "description": "Custom field example"
  }
}

Changes

    • breaking

      the response property /// became nullable for the status

    • breaking

      the response property /// became nullable for the status

    • breaking

      the response property /// became nullable for the status

    • breaking

      the response property /// became nullable for the status

    • breaking

      the response property /// became nullable for the status

    • breaking

      the response property /// became nullable for the status

    • breaking

      the response property /// became nullable for the status

    • breaking

      the response property /// became nullable for the status

    • info

      endpoint added