Transactional
Update a translation of a transactional message
Update the body and other data of a specific language variant for a transactional message. This fully overwrites this specific translation of your existing transactional message.
NOTE: You cannot manage content made with Design Studio with this endpoint. Use the Design Studio APIs instead.
put/v1/transactional/{transactional_id}/language/{language}
Request
- Base URLhttps://api.customer.io
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"id": 96,
"name": "Receipt",
"created": 1552341937,
"updated": 1552341937,
"language": "fr",
"from": "sentFrom@example.com",
"from_id": 1,
"reply_to": "replyto@example.com",
"reply_to_id": 38,
"recipient": "{{customer.email}}",
"subject": "Did you get that thing I sent you?"
}Response
Returns the updated variant of the transactional message.
Example response
{
"content": [
{
"id": 96,
"name": "Receipt",
"created": 1552341937,
"updated": 1552341937,
"language": "fr",
"from": "sentFrom@example.com",
"from_id": 1,
"reply_to": "replyto@example.com",
"reply_to_id": 38,
"recipient": "{{customer.email}}",
"subject": "Did you get that thing I sent you?",
"headers": "[{\"name\":\"X-Mailgun-Tag\",\"value\":\"my-cool-tag\"},{\"name\":\"X-Custom-Header\",\"value\":\"custom-value\"}]"
}
]
}Changes
No recorded changes to this operation across all 40 revisions of this API.