Admin APITransactional Email
Get a transactional e-mail
The effective template with its defaults, the block catalog and the merge variables of the event.
Authorization
bearer_auth AuthorizationBearer <token>
Authorization: Bearer <token>. Either a session access token from POST /auth/login (refresh it with POST /auth/refresh) or a store API token (mobi_st_…). A store API token works only for the store it was issued in, and can do at most what its issuing user can there, narrowed to the scopes it was issued with.
In: header
Path Parameters
store_id*string
Store id
Format
uuidevent*string
Transactional e-mail event, e.g. order.paid
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/stores/497f6eca-6276-4993-bfeb-53cbbbba6f08/email-templates/string"{
"blocks_catalog": {},
"default_blocks": {},
"default_design": {},
"default_subject": "string",
"description": "string",
"event": "string",
"label": "string",
"template": {
"blocks": {},
"design": {},
"event": "string",
"html": "string",
"is_customized": true,
"is_enabled": true,
"mode": "blocks",
"preview_text": "string",
"subject": "string"
},
"trigger": "string",
"variables": [
{
"label": "string",
"sample": "string",
"token": "string"
}
]
}{
"code": "not_found",
"details": {},
"error": "Order not found"
}{
"code": "not_found",
"details": {},
"error": "Order not found"
}{
"code": "not_found",
"details": {},
"error": "Order not found"
}{
"code": "not_found",
"details": {},
"error": "Order not found"
}{
"code": "not_found",
"details": {},
"error": "Order not found"
}