I am using OCAPI for SFCC (Ver 21.10) . I have a use case where a user needs to initiate a password reset from a headless frontend. I am therefore trying to find all the APIs that participate in the complete process.
SO far , i followed this link to dispatch an Email with the token . This is basically about calling the /customers/{customer_id}/password_reset endpoint and using a hook to dispatch the email. This part is clear.
The question is : once i receive the token, which API should i use to actually reset the password ?
I have attempted multiple end point such as /customers/password_reset AND customers/{customer_id}/password but with no success.
Thanks in advance for your help.