Create String Translations

Add translations for strings.

1POST /v2/stringtranslations/

Apex Remote Service 

Handles the API request and finds the implementation for the request.

1APIHandler

Remote Method 

1createStringTranslations

Package 

Communication (vlocity_cmt)

API Parameters and Response Format 

For API parameter names and descriptions, see Cart-Based API Swagger Reference.

Example POST Body 

1[
2 {
3  "vlocity_cmt_promotion__Translation__c": "addon-child2-24540_fr",
4  "vlocity_cmt_promotion__StringId__c": "a4E41000000TqVy",
5  "vlocity_cmt_promotion__LocaleCode__c": "fr"
6 },
7 {
8  "vlocity_cmt_promotion__Translation__c": "addon-child2-24540_de",
9  "vlocity_cmt_promotion__StringId__c": "a4E41000000TqVy",
10  "vlocity_cmt_promotion__LocaleCode__c": "de"
11 }
12]

Example Response 

1{
2 "totalSize": 0,
3 "messages": [{
4  "code": "904",
5  "severity": "INFO",
6  "message": "Saved successfully."
7 }]
8}