After a bit of debugging, I finally figured out thatcustomerResetByUrltakes the default Shopify password reset URL, also known as the resetUrl. This is the same URL set within the password reset email template. However, I'm confused how this is expected to be used.

IscustomerResetByUrlintended to be used programmatically? I'm trying to build the password reset flow on my own site without the user going to Shopify at all. So ideally, I'm trying to force the password reset link to point to my own server without modifying the email template. Is this possible?

It seems I have no way of accessing resetUrlvia the API. The only place I seeresetUrlis within the password reset email. There must be something I'm missing, otherwise how would you even use this mutation without access to resetUrl?

You are on the right track. In order to get the reset URL to point to your app you will need to modify the liquid template. Can I ask why you would like to avoid doing this? That way, you can redirect the customer to the proper link.

The flow would be similar to the following:

customer recovers password viacustomerRecovermutation

customerRecovermutation sends an email to them with reset instructions

the email template is customized to redirect to their site, passing the id and reset token from liquid. You can use customer.reset_password_urlliquid variable.

Hey @andrewrobbins As i'm sure you know - the format of the URL is your-domain.com/account/reset/{{ customer-id }}/{{ reset-token }} at this time there is no way to pull this from the API, however, I will pass along your feedback with the use case.