Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for New Customer Accounts? #1208

Open
lorenzOliveto opened this issue Apr 28, 2023 · 2 comments
Open

Support for New Customer Accounts? #1208

lorenzOliveto opened this issue Apr 28, 2023 · 2 comments

Comments

@lorenzOliveto
Copy link

Are there any plans to support new customer accounts in the Storefront APIs and this SDK?
From what I read here at the moment they're not supported so if a shop has enabled them we can't use this SDK, is this correct?
https://help.shopify.com/en/manual/customers/customer-accounts

@vixdug
Copy link
Contributor

vixdug commented Oct 15, 2024

Hey @lorenzOliveto you can use New Customer Accounts and exchange the token to be used in the Storefront API via: https://shopify.dev/docs/api/customer/unstable/mutations/storefrontCustomerAccessTokenCreate

@lorenzOliveto
Copy link
Author

Hi @vixdug I'm not really following your suggestion. The mutation you linked exchanges a Customer Access Token with a Storefront Customer Access Token.
So my question becomes, how can I obtain a Customer Access Token in a mobile app?
Do you have examples or code samples that achieve this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants