curl --request POST \
--url https://api.unibee.top/merchant/email/custom_localization_template_sync \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"templateData": [
{
"activate": true,
"attach": "<string>",
"localizations": [
{
"content": "<string>",
"language": "<string>",
"title": "<string>"
}
],
"templateDescription": "<string>",
"templateName": "<string>"
}
],
"versionEnable": true
}'
{
"code": 123,
"data": {},
"message": "<string>",
"redirect": "<string>",
"requestId": "<string>"
}
Sync the custom localization email template to gateway (sendgrid)
curl --request POST \
--url https://api.unibee.top/merchant/email/custom_localization_template_sync \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"templateData": [
{
"activate": true,
"attach": "<string>",
"localizations": [
{
"content": "<string>",
"language": "<string>",
"title": "<string>"
}
],
"templateDescription": "<string>",
"templateName": "<string>"
}
],
"versionEnable": true
}'
{
"code": 123,
"data": {},
"message": "<string>",
"redirect": "<string>",
"requestId": "<string>"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Sync the custom localization email template to gateway (sendgrid)
The response is of type object
.