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

missing relationship between cart and customer #9

Open
shareef-dweikat opened this issue Mar 20, 2019 · 3 comments
Open

missing relationship between cart and customer #9

shareef-dweikat opened this issue Mar 20, 2019 · 3 comments

Comments

@shareef-dweikat
Copy link

shareef-dweikat commented Mar 20, 2019

Using this API, i can generate carts. But there is no way to connect a cart generated with a customer!
I tried looking for such a feature in customer APIs as well. Unfortunately, could not find it either.
Capture

@azecharias
Copy link

azecharias commented Mar 27, 2019

You need to store the unique cart_id on the frontend for later use and always add items to a cart by using that cart_id

@shareef-dweikat
Copy link
Author

shareef-dweikat commented Mar 27, 2019

@azecharias
that is exactly what i did. the problem with this technic is that a cart will be stored locally on a device. so, you cant access it form another device.

@alejovdev
Copy link

Yes, it would be useful a post endpoint to the customer to set the cart id

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

3 participants