Headless commerce and custom storefronts with Shopify APIs and SDKs
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.
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? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
Connect your PayPal account to allow your customers to checkout using the PayPal gateway a...
ByYour online store speed can enhance your store’s discoverability, boost conversion rates a...
ByShopping is at our fingertips with mobile devices. Is your theme optimized to be user-frie...
By