|
1
|
type: object |
|
2
|
description: The data for updating a translation. |
|
3
|
required: |
|
4
|
- id |
|
5
|
properties: |
|
6
|
id: |
|
7
|
type: string |
|
8
|
title: id |
|
9
|
description: The ID of the translation to update. |
|
10
|
reference: |
|
11
|
type: string |
|
12
|
title: reference |
|
13
|
description: The resource that the translation belongs to. |
|
14
|
example: product |
|
15
|
reference_id: |
|
16
|
type: string |
|
17
|
title: reference_id |
|
18
|
description: >- |
|
19
|
The ID of the resource that the translation belongs to. For example, the |
|
20
|
ID of a product. |
|
21
|
example: prod_123 |
|
22
|
locale_code: |
|
23
|
type: string |
|
24
|
title: locale_code |
|
25
|
description: The translation's locale code in BCP 47 format. |
|
26
|
example: fr-FR |
|
27
|
translations: |
|
28
|
type: object |
|
29
|
description: >- |
|
30
|
The translation key-value pairs. Each key is a field in the resource, and |
|
31
|
the value is the translated text. |
|
32
|
example: |
|
33
|
title: Chaussures Modifiées |
|
34
|
description: Des chaussures élégantes et modifiées. |
|
35
|
x-schemaName: AdminUpdateTranslation |