---
title: "Translations.update"
method: PATCH
path: "/entities/Translations/{id}"
tags: ["Translation"]
---

# Translations.update

`PATCH /entities/Translations/{id}`

Modifies Translation or Translations with given id(s)

## Path parameters

- `id` string, uuid, required

## Query parameters

- `validation-level` integer

## Request body

- UpdateTranslationInput
  - `account_type_id` string, uuid — Id of the account type.
  - `appointment_type_id` string, uuid — Id of the appointment type.
  - `contact_type_id` string, uuid — Id of the contact type.
  - `data_id` string, uuid — Id of the translated data option.
  - `de_de` string — Translated text in German.
  - `en_us` string — Translated text in US English.
  - `es_es` string — Translated text in Spanish.
  - `field_id` string, uuid — Id of the translated field.
  - `form_type` 0 | 1 — Field whose values are strictly defined with an enumeration of values. Integer enum value: 0 - Edit, 1 - Lost
  - `label_type` 0 | 1 | 2 | 3 — Field whose values are strictly defined with an enumeration of values. Integer enum value: 0 - Field, 1 - Data, 2 - FormField, 3 - FormDescription
  - `lead_type_id` string, uuid — Id of the lead type.
  - `oppty_product_relation_type_id` string, uuid — Id of the opportunity product relation type.
  - `oppty_type_id` string, uuid — Id of the opportunity type.
  - `product_type_id` string, uuid — Id of the product type.
  - `project_type_id` string, uuid — Id of the project type.
  - `pt_br` string — Translated text in Brazilian Portuguese.
  - `task_type_id` string, uuid — Id of the task type.
  - `revision` integer — Revision when entity was lastly changed.

## Response `200`

Modification confirmation. Returns resulting Translation

- object
  - `success` boolean — True when response succeeded, false on error.
  - `data` Translation
    - `is_delete_protected` boolean, required — Tells if the entity instance is protected against delete (Entities that need to be present in the system at any time). Delete action still may fail if entity is deletable, due some other additional validations.
    - `has_draft` boolean, required — Set to True if draft for entity exists and can be published
    - `id` string, uuid, required — Unique identifier of entity.
    - `is_deleted` boolean — Specifies if the entity is considered deleted.
    - `modified` string, date-time — Last modification time.
    - `created` string, date-time — Creation time.
    - `account_type` string, uri — Account type the form-level translation applies to. Relation to AccountType. By default it is returned as URI to related resource. Using parameter 'expand', it will return full entity. See: 'AccountType' object for properties.
    - `appointment_type` string, uri — Appointment type the form-level translation applies to. Relation to AppointmentType. By default it is returned as URI to related resource. Using parameter 'expand', it will return full entity. See: 'AppointmentType' object for properties.
    - `contact_type` string, uri — Contact type the form-level translation applies to. Relation to ContactType. By default it is returned as URI to related resource. Using parameter 'expand', it will return full entity. See: 'ContactType' object for properties.
    - `data` string, uri — Data option (dropdown/radio choice) this row translates. Set when label_type is Data. Relation to Data. By default it is returned as URI to related resource. Using parameter 'expand', it will return full entity. See: 'Data' object for properties.
    - `field` string, uri — Field whose name/label this row translates. Set when label_type is Field, FormField, or FormDescription. Relation to Field. By default it is returned as URI to related resource. Using parameter 'expand', it will return full entity. See: 'Field' object for properties.
    - `lead_type` string, uri — Lead type the form-level translation applies to. Relation to LeadType. By default it is returned as URI to related resource. Using parameter 'expand', it will return full entity. See: 'LeadType' object for properties.
    - `oppty_product_relation_type` string, uri — Opportunity product relation type the form-level translation applies to. Relation to OpptyProductRelationType. By default it is returned as URI to related resource. Using parameter 'expand', it will return full entity. See: 'OpptyProductRelationType' object for properties.
    - `oppty_type` string, uri — Opportunity type the form-level translation applies to. Relation to OpportunityType. By default it is returned as URI to related resource. Using parameter 'expand', it will return full entity. See: 'OpportunityType' object for properties.
    - `product_type` string, uri — Product type the form-level translation applies to. Relation to ProductType. By default it is returned as URI to related resource. Using parameter 'expand', it will return full entity. See: 'ProductType' object for properties.
    - `project_type` string, uri — Project type the form-level translation applies to. Relation to ProjectType. By default it is returned as URI to related resource. Using parameter 'expand', it will return full entity. See: 'ProjectType' object for properties.
    - `task_type` string, uri — Task type the form-level translation applies to. Relation to TaskType. By default it is returned as URI to related resource. Using parameter 'expand', it will return full entity. See: 'TaskType' object for properties.
    - `account_type_id` string, uuid — Id of the account type.
    - `appointment_type_id` string, uuid — Id of the appointment type.
    - `contact_type_id` string, uuid — Id of the contact type.
    - `data_id` string, uuid — Id of the translated data option.
    - `de_de` string — Translated text in German.
    - `en_us` string — Translated text in US English.
    - `es_es` string — Translated text in Spanish.
    - `field_id` string, uuid — Id of the translated field.
    - `form_type` 0 | 1 — Field whose values are strictly defined with an enumeration of values. Integer enum value: 0 - Edit, 1 - Lost
    - `label_type` 0 | 1 | 2 | 3, required — Field whose values are strictly defined with an enumeration of values. Integer enum value: 0 - Field, 1 - Data, 2 - FormField, 3 - FormDescription
    - `lead_type_id` string, uuid — Id of the lead type.
    - `oppty_product_relation_type_id` string, uuid — Id of the opportunity product relation type.
    - `oppty_type_id` string, uuid — Id of the opportunity type.
    - `product_type_id` string, uuid — Id of the product type.
    - `project_type_id` string, uuid — Id of the project type.
    - `pt_br` string — Translated text in Brazilian Portuguese.
    - `task_type_id` string, uuid — Id of the task type.
    - `is_published` boolean — True when the translation is published; false while it exists only as an unpublished draft.
    - `revision` integer — Revision when entity was lastly changed.

## Other responses

- `404` — Sent when invalid ID is given
- `500` — unexpected error

---

[API](https://skmtc.net/aws/apis/pipeliner-cloud-api.md) · [All operations](https://skmtc.net/aws/apis/pipeliner-cloud-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/pipeliner-cloud-api/versions/e8c12ae60aca/schema)
