Implementing Phone Number & OTP Login and Delivery Availability Check Using Storefront API

Implementing Phone Number & OTP Login and Delivery Availability Check Using Storefront API

Rennyframe
Shopify Partner
1 0 0

Request for Support: Implementing Phone Number & OTP Login and Delivery Availability Check Using Storefront API

Dear Shopify Support,

I hope this message finds you well. We are currently running a headless Shopify store and utilizing the Storefront API to manage data exchange between Shopify and our custom-built UI. At the moment, we are using Shopify's default email and password login functionality, but we need assistance with the following two tasks:

  1. Implementing Phone Number and OTP Login: We want to replace the existing email and password login with a phone number and OTP authentication mechanism. Could you guide us on how to achieve this using Shopify's Storefront API or GraphQL queries? We are aiming for a seamless user experience, similar to the default login, but with phone number validation.

  2. Checking Delivery Availability on Product Details Page: To enhance the customer experience, we need to implement a ZIP code validator on the product details page. This feature will allow customers to check whether delivery is available for their location before making a purchase. Could you provide guidance on how we can implement this using the Storefront API or relevant GraphQL queries to fetch delivery availability information?

We appreciate any documentation or suggestions you can offer to help us achieve these objectives.

Looking forward to your support.

Replies 0 (0)