> ## Documentation Index
> Fetch the complete documentation index at: https://docs.selltrust.com.br/llms.txt
> Use this file to discover all available pages before exploring further.

# Prévia do Email de Entrega

Renderiza um assunto e um HTML com um pedido de exemplo (dois itens, com chaves), sem salvar e sem enviar. Faz as mesmas validações de [Alterar](https://docs.selltrust.com.br/api-reference/order-email/update.md): erro de Liquid ou conteúdo entregue ausente retornam `400`.

> [!NOTE]
>
> Exige a permissão **Gerenciar Loja** (`MANAGE_STORE`) do usuário que criou o token. Veja [Permissões do token](https://docs.selltrust.com.br/api-reference/permissions.md).

**Authorization** `string` *required*

Token de API no formato `Bearer stk_live_...`.

**subject** `string` *required*

Assunto a renderizar.

**html** `string` *required*

HTML a renderizar.

```json Resposta de erro (400) theme={null}
{
  "message": "Erro no template (linha 2, coluna 1): a tag {% if order %} não foi fechada.",
  "field": "html",
  "line": 2,
  "column": 1
}
```

```json Response theme={null}
{
  "subject": "Pedido aprovado - Minha Loja",
  "html": "<!DOCTYPE html …>\n<html dir=\"ltr\" lang=\"en\">… XXXX-YYYY-ZZZZ-1111 …</html>"
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.