Create an account
documentedCreates a new user account.
POST /api/v2/storefront/accountAccountno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://demo.spreecommerce.org/api/v2/storefront/account" \
-X POST \
-H "Content-Type: application/vnd.api+json" \
-H "Accept: application/vnd.api+json" \
-d '{"user": {"email": "{{$email}}", "first_name": "{{$first_name}}", "last_name": "{{$last_name}}", "selected_locale": "{{$locale}}", "password": "{{$password}}", "password_confirmation": "{{$password_confirmation}}", "public_metadata": {"user_segment": "{{$user_segment}}"}, "private_metadata": {"has_abandoned_cart": {{$has_abandoned_cart}}}}}'