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

# Atualizar filial

> Atualize os dados de uma filial existente.

Você só precisa enviar os campos que deseja atualizar.

**app\_id** `string` *required*

O ID da sua loja no Jelou Shop.

**branch\_id** `string` *required*

O ID da filial a atualizar.

> [!NOTE]
>
> Para atribuir ou alterar o idioma da filial, envie `properties.language`. É um campo validado: aceita apenas `es`, `en` ou `pt`. Observe que enviar `properties` substitui o objeto inteiro, portanto inclua também as demais chaves que deseja manter.

```bash cURL theme={null}
curl -X PATCH "https://gateway.jelou.ai/ecommerce/v2/apps/{app_id}/branches/{branch_id}" \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Filial Centro Renovada",
    "address": "Av. Principal 456, Quito"
  }'
```

```json 200 OK theme={null}
{
  "data": {
    "id": "9e3f2c1a-8b7d-4e6f-a5c4-d3b2a1e0f9c8",
    "name": "Filial Centro Renovada",
    "code": "BRANCH-DOWNTOWN",
    "address": "Av. Principal 456, Quito",
    "phone": "+593991234567",
    "status": true,
    "properties": {
      "schedule": "09:00 - 18:00",
      "zone": "north"
    },
    "created_at": "2026-02-19T15:30:00.000000Z",
    "updated_at": "2026-02-19T16:00:00.000000Z"
  }
}
```


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