Use this when an agent wants to create a Marea account on behalf of a user with one round-trip (account + storefront + verification email).
Creates a Firebase Auth user + Firestore user doc + restricted user key + (optionally) a starter storefront via createMenuCore + sends a 6-digit verification email. Returns 201 (or 207 if the storefront manifest exceeded plan limits). The userKey is returned ONCE — store it.
Documentation Index
Fetch the complete documentation index at: https://docs.mareaalcalina.com/llms.txt
Use this file to discover all available pages before exploring further.
Marea API key. mk_dev_* keys are developer-scoped (bootstrap, list users, register webhook). mk_user_* keys are user-scoped (manage that one user's storefronts/products).
Optional client-supplied key. Replays of the same key within 24h return the original response. Recommended for POSTs that mutate billing/inventory.
200"idem_b2a9f5b9-3e0c-4a5e-b3c2-7a4ce85a6b21"
BCP-47 locale tag for localized error messages (es, en, pt). Defaults to es.
"es-MX"
Request body.
1 - 2001 - 64^[A-Za-z0-9 _.-]+$^[A-Z]{2}$es, en, pt ^[A-Z]{3}$Agent-facing storefront input shape (RFC §6.18.1). Every field is PATCHable per §6.18.1.1.
Resource created.
^mk_user_pending email-only