Development discussions around Shopify APIs
To continue receiving payouts, you need to secure your account by turning on two-step authentication. If two-step authentication is not turned on your payouts will be paused. Learn more
Hello,
I have used 'customerAccessTokenCreate' for logged in customer.
For normal flow of Shopify, when submit login form it redirects to CAPTCHA and liquid 'customer' object gives all data. BUT, I am trying with Storefront API. I can get AccessToken but Shopify does not give use 'customer' object because we haven't inform Shopify to person logged using StoreFront APIs.
Hope you have understand my question.
Ref. https://shopify.dev/custom-storefronts/customer-accounts#create-an-access-token
const mutation = `mutation { customerAccessTokenCreate(input: {email: "${email}", password: "${password}"}) { customerAccessToken { accessToken, expiresAt }, customerUserErrors { code } } }`
Thanks.
Hi there @24by7themes!
I just wanted to let you know I have moved your query here to our dedicated API forums, in order to get you the best chance of a helpful reply!
These forums are moderated and responded to by our developers and partners, so it's really the best place for this subject.
If you haven't already, you can check out our API reference docs on customers here.
Don | Social Care @ 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 the Shopify Help Center or the Shopify Blog
User | RANK |
---|---|
6 | |
5 | |
5 | |
5 | |
4 |
Learn these 5 things I had to learn the hard way with starting and running my own business
By Kitana Jan 27, 2023Would you love to unleash the unbridled power of the Google Shopping Channel into your sho...
By Gabe Jan 6, 2023How can you turn a hobby into a career? That’s what Emmanuel did while working as a wa...
By Skye Dec 30, 2022