Add translations for strings.
POST /v2/stringtranslations/
Apex Remote Service
Handles the API request and finds the implementation for the request.
APIHandler
Remote Method
createStringTranslations
Package
Communication (vlocity_cmt)
API Parameters and Response Format
For API parameter names and descriptions, see Cart-Based API Swagger Reference.
Example POST Body
[
{
"vlocity_cmt_promotion__Translation__c": "addon-child2-24540_fr",
"vlocity_cmt_promotion__StringId__c": "a4E41000000TqVy",
"vlocity_cmt_promotion__LocaleCode__c": "fr"
},
{
"vlocity_cmt_promotion__Translation__c": "addon-child2-24540_de",
"vlocity_cmt_promotion__StringId__c": "a4E41000000TqVy",
"vlocity_cmt_promotion__LocaleCode__c": "de"
}
]
Example Response
{
"totalSize": 0,
"messages": [{
"code": "904",
"severity": "INFO",
"message": "Saved successfully."
}]
}