Stuller · Proxy · Seguridad
Mapa de Integración
Todas las llamadas al ecosistema Stuller pasan por https://ca-api-production-f6f7.up.railway.app. Las credenciales Basic Auth nunca salen del servidor.
Flujo de datos
Browser (panel / constructor)
│
▼ fetch /api/stuller/*
Express proxy :3001
│ STULLER_USERNAME
│ STULLER_PASSWORD ← solo .env servidor
▼ Basic Auth
stuller.com/api/v2
│
├── /products/virtual
├── /gem/diamonds
├── /products/configureproduct
└── /products/searchstones …Repos del ecosistema
web carolina-arcieri — marketing Astro 6
api carolina-arcieri-api-stuller — proxy + constructor
panel carolina-arcieri-panel — este dashboard
Paleta compartida: cream · sage · gold · Cormorant + Jost (misma identidad que la web).
Endpoints proxy → Stuller
| Status | Método | Ruta local | Stuller upstream | Descripción | ms |
|---|---|---|---|---|---|
| GET | /health | — | Health check del proxy | — | |
| GET | /api/stuller/status | POST /products/virtual (probe) | Verifica credenciales Stuller | — | |
| POST | /api/stuller/virtual-products | POST /products/virtual | Catálogo engastes semi-montados | — | |
| POST | /api/stuller/products | POST /products | Producto por SKU · EngravingOptions | — | |
| POST | /api/stuller/gems/diamonds | POST /gem/diamonds | Diamantes naturales certificados | — | |
| POST | /api/stuller/gems/lab-grown | POST /gem/labgrowndiamonds | Diamantes lab-grown | — | |
| POST | /api/stuller/products/configure | POST /products/configureproduct | Configurar joya · precio · imágenes | — | |
| POST | /api/stuller/products/search-stones | POST /products/searchstones | Piedras compatibles por location | — | |
| POST | /api/stuller/products/search-stones-by-group | POST /products/searchstonesbystonegroup | Best-fit por stone group | — | |
| POST | /api/stuller/products/stone-families | POST /products/stonefamilies | Familias de piedra por engaste | — | |
| POST | /api/stuller/products/advanced-filters | POST /products/advancedproductfilters | Filtros avanzados catálogo | — |
Selecciona "Probe all" para verificar endpoints en vivo…