Skip to content

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

@ccucunubatrellis

Description

@ccucunubatrellis

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions