Confirmado
Pendiente
Entregado
Enviado
Cancelado
🧴 Catálogo Perla Negra
—
📊 Ventas por Producto (30d)
| PRODUCTO | UNIDADES | REVENUE | % DEL TOTAL |
| Cargando... |
Avg Order Value
—
MXN por orden
👥 Clientes & Ventas—
| CLIENTE | PEDIDOS | TOTAL GASTADO | ÚLTIMO PEDIDO | STATUS | CANAL |
| Cargando clientes... |
📈 Ventas Acumuladas por Semana (MXN)
🔗 MCP Connection
ProtocolModel Context Protocol v1.0
TransportHTTP / SSE
Shopify APIAdmin REST API 2024-01
Last Sync—
Orders Synced—
Products Synced—
Customers Synced—
🛠️ Sync Configuration
Auto-syncEvery 15 min
Scope: Orders✓ Active
Scope: Products✓ Active
Scope: Customers✓ Active
Scope: Inventory✓ Active
Webhook: orders/create⚠ Pending setup
Webhook: products/update⚠ Pending setup
📦 Shopify Orders (últimos 20)—
| SHOPIFY # | CLIENTE | TOTAL | STATUS | FULFILLMENT | CANAL | FECHA |
| Conecta Shopify para ver órdenes en tiempo real |
📋 Sync Log
[SYSTEM] Shopify MCP module loaded
[SYSTEM] Waiting for SHOPIFY_STORE_URL and SHOPIFY_API_KEY in environment...
🔧 Setup Guide
Para conectar Shopify:
1. Instala la app "Custom App" en Shopify Admin
2. Crea un private app con scopes:
read_orders, read_products
read_customers, read_inventory
3. Agrega en .env:
SHOPIFY_STORE_URL=perla-negra.myshopify.com
SHOPIFY_API_KEY=shpat_xxx
4. Reinicia el agente: docker compose restart
El agente sincronizará automáticamente órdenes → perla_negra_orders