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

X-Bc-Customer-Id Header Failing to Retrieve Customer Data #1227

Open
ccucunubatrellis opened this issue Aug 5, 2024 · 0 comments
Open

X-Bc-Customer-Id Header Failing to Retrieve Customer Data #1227

ccucunubatrellis opened this issue Aug 5, 2024 · 0 comments

Comments

@ccucunubatrellis
Copy link

Describe the bug

We noticed that there is no result data for cart and checkout operations after a user logs in on the app and the X-Bc-Customer-Id header is passed with the user ID in the requests. According to the documentation, customer access tokens are the recommended approach to access customer data. After we switched to using the customer access tokens, the data returned as expected.

To Reproduce

related: https://bigcommerce.my.site.com/s/question/0D54v000099DwT1CAK/adding-item-to-cart-for-customer-but-calling-the-customers-cart-returns-null?language=es_MX

Steps to reproduce the behavior:

  1. Add a product to the cart.
  2. Sign in.
  3. Go to the cart page and observe that the data is not being returned.
@ccucunubatrellis ccucunubatrellis changed the title customer impersonation token X-Bc-Customer-Id not working to get customer data Issue with X-Bc-Customer-Id Header Failing to Retrieve Customer Data Aug 5, 2024
@ccucunubatrellis ccucunubatrellis changed the title Issue with X-Bc-Customer-Id Header Failing to Retrieve Customer Data X-Bc-Customer-Id Header Failing to Retrieve Customer Data Aug 5, 2024
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

1 participant