Update an account
documentedUpdates the current user's account details.
PATCH /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 PATCH \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-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}}", "bill_address_id": "{{$bill_address_id}}", "ship_address_id": "{{$ship_address_id}}", "password": "{{$password}}", "password_confirmation": "{{$password_confirmation}}"}}'