Headless Multipass Checkout login

Highlighted
Shopify Partner
2 0 0

Hi, we have a headless implementation of Shopify with our own agency CMS.  The client has moved up onto Plus so we can implement multipass and allow customer accounts on the front end which provide a logged in experience at the checkout.

The issue we face is that even with the multipass access token this doesn't log the user in at the checkout, it simply pre-fills the email address for the user. 

What is the correct process for this?  The API documentation seems to suggest the multipass token is for amending the customer's data but not to provide Shopify with a link between the headless cart and the Shopify hosted checkout.

 

 

0 Likes
Highlighted
Shopify Staff
Shopify Staff
462 93 80

Hey @KayoJustin 

 

With multipass you now have the customer access token, if you want to view customer data or update it you can with this. If you are looking to include shipping address information in the prefill too you can do so with: https://shopify.dev/docs/storefront-api/reference/mutation/checkoutshippingaddressupdatev2?api[versi...

Vix | Developer Support @ Shopify
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Click Accept as Solution 


0 Likes