wafle_stores_create
Create a new wafle store to onboard clients. Requires slug, name, and domain, and provisions API key, audit log, and default gateway.
Instructions
Create a brand new wafle store. Required: slug, name, domain.
Use to onboard a new client. After creating, you'll typically run wafle_gateways_create, wafle_stores_settings_update, and either wafle_products_sync_trigger (for catalog-sync stores) or wafle_products_create_manual for manual catalogs.
DESTRUCTIVE side effect: also provisions a per-store API key, audit log entry, and a default gateway slot.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Human-readable name, e.g. 'Lensitive'. | |
| slug | Yes | Wafle store slug, e.g. 'gamerland' or 'lensitive'. | |
| domain | Yes | Public domain, e.g. 'lensitive.com.ar'. | |
| currency | No | ISO currency code, e.g. 'ARS'. | |
| theme_color | No | Hex color for storefront, e.g. '#8b5cf6'. | |
| catalog_mode | No | Where the catalog comes from. |