Ettajer for Developers
Auth → context → schema → draft theme → preview → merchant publish. AI controls presentation. Ettajer controls commerce.
Draft themes, sections, and previews. Prefer batch mutations over one-off recreates.
Going live needs themes:publish. Keep it off for AI clients by default.
Same authorization for REST and MCP.
GET /api/v1/context — branding, products, collections, and themes for the connected store.
GET /api/v1/themes/schema — allowed sections, settings, and reference shapes.
POST /api/v1/themes with { "name": "AI Minimal", "provider": "claude" }. Does not publish.
Prefer POST /api/v1/themes/:id/batch (or MCP apply_theme_batch) for hero, product-grid with real product IDs, and footer. Optional pages via /pages — not cart, checkout, or products.
POST /api/v1/themes/:id/preview-token returns a short-lived signed URL. Same storefront renderer; real catalog and checkout. Merchant session can preview without a token.
Customize opens /dashboard/themes/editor?themeId=… and loads the draft in the visual editor.
POST /api/v1/themes/:id/publish requires themes:publish. Transactional. Cart and checkout stay on Ettajer.
Endpoint POST /api/v1/mcp. Prefer batch over repeated single-section calls.
get_contextget_theme_schemaget_productscreate_themeapply_theme_batchpreview_theme
Then merchant publish — or publish_theme only with themes:publish.
Add Claude and Cursor redirect URIs, then authorize the store.