> For the complete documentation index, see [llms.txt](https://clique-retire.gitbook.io/ebox/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://clique-retire.gitbook.io/ebox/e-commerce/etiquetas/geracao.md).

# Geração

## Gerar Etiquetas

<mark style="color:green;">`POST`</mark> `https://services.cliqueretire.com.br/ebox/api/v1/generate-tag`

#### Headers

| Name         | Type   | Description      |
| ------------ | ------ | ---------------- |
| Content-Type | string | application/json |
| api-id       | string |                  |
| api-key      | string |                  |

#### Request Body

| Name | Type   | Description                         |
| ---- | ------ | ----------------------------------- |
| data | array  | Informação dos pacotes              |
| type | string | Tipo dos pacotes. DELIVERYou RETURN |

{% tabs %}
{% tab title="200 " %}

```
{
    data: "ENCODED BASE64 PDF"
}
```

{% endtab %}

{% tab title="401 " %}

```
{
    "message": "Unauthorized"
}
```

{% endtab %}
{% endtabs %}

### data

| Field            | Description                 |
| ---------------- | --------------------------- |
| name             | Nome do usuário             |
| barCode          | Código de barras do volume  |
| phoneNumber      | Telefone celular do usuário |
| boxAddress       | Endereço do E-BOX           |
| boxZipCode       | CEP do E-BOX                |
| boxCode          | Código único do E-BOX       |
| createTime       | Data de geração             |
| logisticsCompany | Nome da empresa             |
