1

I was able to sign in using /rest/V1/integration/customer/token and add items to cart. How do I view the cart (items I added using REST API) as a customer from front-end?

I want synchronize api cart with cart frontend.

1 Answer 1

0

I know the question was posted a while ago but I will leave it here for a reference.

Magento keeps products you put to the cart on the server side. If you log in on the front-end as the same customer as using REST API, you should be able to see the products in the cart.

It works on a clean installation of Magento 2, an example of which you can find under the following link. Credentials are:

If it does not work on your instance, you need to check if nothing changes the default behaviour.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.