> ## 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.

# Actualizar sucursal

> Actualiza los datos de una sucursal existente.

Solo necesitas enviar los campos que deseas actualizar.

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

ID de tu tienda en Jelou Shop.

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

ID de la sucursal a actualizar.

> [!NOTE]
>
> Para asignar o cambiar el idioma de la sucursal, envía `properties.language`. Es un campo validado: solo acepta `es`, `en` o `pt`. Ten en cuenta que enviar `properties` reemplaza el objeto completo, así que incluye también el resto de claves que quieras conservar.

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

```json 200 OK theme={null}
{
  "data": {
    "id": "9e3f2c1a-8b7d-4e6f-a5c4-d3b2a1e0f9c8",
    "name": "Sucursal Centro Renovada",
    "code": "SUC-CENTRO",
    "address": "Av. Principal 456, Quito",
    "phone": "+593991234567",
    "status": true,
    "properties": {
      "horario": "09:00 - 18:00",
      "zona": "norte"
    },
    "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.