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/reset-password \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "new_password": "<string>", "confirm_password": "<string>", "otp_token": "<string>" }'
{ "message": "<string>", "success": true, "content": { "access_token": "<string>", "refresh_token": "<string>" } }
Reset password
Access token
The new password that the user wants to set for their account.
A confirmation of the new password.
A string representing the OTP token which facilitas the resetting of user’s account password.
OK
A descriptive message confirming the success or failure of the reset password operation.
Indicates whether the request was successful or failure (true for success, false for failure).
An object containing the response content.
Show child attributes
Was this page helpful?