POST /api/v1/storefront/register — Passwordless registration.

API
POST/api/v1/storefront/register

Registro

Público — la sesión del comprador es opcional

Crea la cuenta del cliente, sin contraseña.

Solicitud

json
{ "cliente": { "email": "...", "nombre": "..." } }

Respuesta

json
{cliente}

Código

bash
curl -X POST 'https://tu-tienda.com/api/v1/storefront/register' \
  -H 'x-vxm-customer-token: CUSTOMER_SESSION_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{ "cliente": { "email": "...", "nombre": "..." } }'

Probá el endpoint

https://tu-tienda.com/api/v1/storefront/register
Necesitás un token para probar los endpoints. Generalo desde Configuración → ERP → API Token.