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

# Obtener sucursal

> Obtén los detalles de una sucursal específica.

<ParamField path="app_id" type="string" required>
  ID de tu tienda en Jelou Shop.
</ParamField>

<ParamField path="branch_id" type="string" required>
  ID de la sucursal.
</ParamField>

<ParamField query="include" type="string">
  Usa `products` para incluir los productos de la sucursal en la respuesta.
</ParamField>

<RequestExample>
  ```bash cURL theme={null}
  curl "https://gateway.jelou.ai/ecommerce/v2/apps/{app_id}/branches/{branch_id}?include=products" \
    -H "x-api-key: TU_CLAVE_API"
  ```
</RequestExample>

<ResponseExample>
  ```json 200 Success theme={null}
  {
    "data": {
      "id": "9e3f2c1a-8b7d-4e6f-a5c4-d3b2a1e0f9c8",
      "name": "Sucursal Centro",
      "code": "SUC-CENTRO",
      "address": "Av. Principal 123, Quito",
      "phone": "+593991234567",
      "status": true,
      "properties": {
        "language": "es",
        "horario": "09:00 - 18:00"
      },
      "created_at": "2026-02-19T15:30:00.000000Z",
      "updated_at": "2026-02-19T15:30:00.000000Z",
      "products": []
    }
  }
  ```
</ResponseExample>

<Note>
  El arreglo `products` solo aparece cuando envías `include=products`. El conteo `products_count` está disponible en los endpoints de [listar](/guides/integraciones/e-commerce/api-sucursales/listar) y [buscar](/guides/integraciones/e-commerce/api-sucursales/buscar), no en este.
</Note>
