Saltar al contenido principal
GET
/
ecommerce
/
v2
/
apps
/
{app_id}
/
branches
/
{branch_id}
curl "https://gateway.jelou.ai/ecommerce/v2/apps/{app_id}/branches/{branch_id}?include=products" \
  -H "x-api-key: TU_CLAVE_API"
{
  "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": []
  }
}
app_id
string
requerido
ID de tu tienda en Jelou Shop.
branch_id
string
requerido
ID de la sucursal.
include
string
Usa products para incluir los productos de la sucursal en la respuesta.
curl "https://gateway.jelou.ai/ecommerce/v2/apps/{app_id}/branches/{branch_id}?include=products" \
  -H "x-api-key: TU_CLAVE_API"
{
  "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": []
  }
}
El arreglo products solo aparece cuando envías include=products. El conteo products_count está disponible en los endpoints de listar y buscar, no en este.