> 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/wake-commerce/pedido/atualiza-a-situacao-do-status-do-pedido.md).

# Atualiza a situação do status do pedido

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

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

<table><thead><tr><th width="210">Campo</th><th width="136">Tipo</th><th>Descrição</th></tr></thead><tbody><tr><td>Descrição</td><td>Campo de texto</td><td>Mensagem visual usada para descrever a funcionalidade do conector dentro do fluxo.</td></tr><tr><td>Token</td><td>Campo de texto</td><td>O token é gerado através da plataforma administrativa do lojista.</td></tr><tr><td>ID do pedido</td><td>Campo de texto</td><td>Identificador do pedido ou identificador do pedido no ERP que se deseja atualizar.</td></tr><tr><td>ID da situação do pedido</td><td>Campo de texto</td><td>Identificador da situação para atualização do pedido.</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="Detalhes" %}

## Detalhes

O conector permite a atualização da situação de um pedido específico por meio da API REST da Wake Commerce.

O endpoint utilizado é **PUT** `https://api.fbits.net/pedidos/{pedidoId}/status` . Para mais informações sobre essa e outras APIs disponíveis na Wake Commerce, consulte as [Referências de API](https://wakecommerce.readme.io/reference/atualiza-a-situacao-do-status-do-pedido).
{% endtab %}
{% endtabs %}


---

# 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/wake-commerce/pedido/atualiza-a-situacao-do-status-do-pedido.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.
