> For the complete documentation index, see [llms.txt](https://docs.floui.io/guia/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.floui.io/guia/conectores/categorias/servicos-externos/adobe-commerce/envio/consultar-envio.md).

# Consultar envio

{% tabs %}
{% tab title="Parâmetros" %}

<figure><img src="/files/hPm7bOHLErwRjkZcvzgf" alt="" width="375"><figcaption><p>Parâmetros de configuração.</p></figcaption></figure>

<table><thead><tr><th width="220.66666666666666">Campo</th><th width="135">Tipo</th><th>Descrição</th></tr></thead><tbody><tr><td>Descrição</td><td>Campo de texto</td><td>Mensagem visual para descrever a função do conector no contexto do fluxo.</td></tr><tr><td><a data-footnote-ref href="#user-content-fn-1">Conta de serviço</a></td><td>Seletor</td><td>Permite o acesso ao sistema através de credenciais fornecidas no painel de contas do Floui.</td></tr><tr><td>ID do envio</td><td>Campo de texto</td><td>Define o código de busca.</td></tr><tr><td>Output path</td><td>Campo de texto</td><td>Armazena os dados de saída do conector ao final da execução.</td></tr></tbody></table>
{% endtab %}

{% tab title="Payload" %}

## Detalhes

O conector Consultar Envio possibilita a recuperação e consulta dos dados de envio de pedidos realizados no e-commerce por meio da API REST.&#x20;

O endpoint utilizado é **GET** `/rest/V1/shipment/{id}`, onde `{id}` corresponde ao identificador único do envio. Para mais informações sobre essa e outras APIs disponíveis no Adobe Commerce Magento, consulte a documentação oficial [REST endpoints (ReDocly)](https://developer.adobe.com/commerce/webapi/rest/quick-reference/).

## Sucesso

Em casos de sucesso, o retorno de execução do conector conterá os dados do envio do pedido realizado no e-commerce.

<figure><img src="/files/tgaqWYOA7VQ18P7aA9R1" alt=""><figcaption><p>Sucesso na consulta de envio</p></figcaption></figure>

## Erros

Erros na execução do conector geralmente ocorrem devido à inserção de identificadores inválidos ou em formatos incorretos. Inserir o `increment_id`, visível nas grades do painel administrativo Magento, poderá realizar a consulta para um envio incorreto. Deve-se o usar o identificador da entidade do envio.

<figure><img src="/files/1L1XQTytdl5xVDNM6pXR" alt=""><figcaption><p>Erro na consulta do envio.</p></figcaption></figure>
{% endtab %}
{% endtabs %}

[^1]: A conta de serviço precisa ser adicionada no painel de configuração do Floui antes de ser selecionada dentro do componente.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.floui.io/guia/conectores/categorias/servicos-externos/adobe-commerce/envio/consultar-envio.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
