Commerce Engine is now in beta. We're working hard to make it better for you.
cURL
curl --request POST \ --url https://staging.api.commercengine.io/api/v1/{store_id}/storefront/auth/change-password \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "old_password": "<string>", "new_password": "<string>", "confirm_password": "<string>" }'
{ "message": "<string>", "success": true, "content": { "access_token": "<string>", "refresh_token": "<string>" } }
The Change Password API is a key feature designed to provide a secure and standardized method for users to update their passwords.
Access token
OK
The response is of type object.
object