> For the complete documentation index, see [llms.txt](https://apidocs.cloudinvoice.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://apidocs.cloudinvoice.net/documentacao-api/vendedores/exists.md).

# Exists

## &#x20;Verifica se o Vendedor existe

## Indica, caso exista, o :id do vendedor a partir do seu código.

<mark style="color:blue;">`GET`</mark> `https://api.cloudinvoice.net/salesmen/exists/:search/`

#### Path Parameters

| Name                                     | Type   | Description                                 |
| ---------------------------------------- | ------ | ------------------------------------------- |
| search<mark style="color:red;">\*</mark> | string | Código/Contribuinte do vendedor a procurar. |

{% tabs %}
{% tab title="Exemplo de Pedido" %}

```shell
curl https://api.cloudinvoice.net/salesmen/exists/1/
    -H "Content-Type: application/json"
```

{% endtab %}

{% tab title="Exemplo de Resposta" %}

```json
{
    "exists": true,
    "id": 1,
}
```

{% endtab %}
{% endtabs %}

Para ver exemplos de pedidos nas várias linguagens, consulte a página[ Exemplos de Pedidos.](/introducao/exemplos-de-pedidos.md)
