-
Notifications
You must be signed in to change notification settings - Fork 264
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
CA API token not valid for cart buyerIdentity update #2495
Comments
I also have such problem type. I am getting customerAccessToken from CA API and want to use it to get details about Order using Storefront API (CA Order query it too limited with data and I can't receive detailed info about my product). |
I've setup a hydrogen storefront with the new customer account API enabled. I'm running into an issue with the customer token and the cart handler. It seems like the token from the customerAccount doesn't work with the Cart Handler and I'm trying to figure out if there is another way to handle this.
I came across this comment in the CA API RFC which seems to confirm the issue.
I'm trying to use or implement the CountrySelector component but I receive an error from the API
{ "message": "Customer is invalid", "field": [ "buyerIdentity", "customerAccessToken" ], "code": "INVALID" }
when trying to update the buyer identity.Any help with this would be greatly appreciated.
Originally posted by @NickHazen in #2493
The text was updated successfully, but these errors were encountered: