Cart management over the API
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Cart management over the API
I am writing with yet another issue.
Cart management:
It works, but if I open up incognito browser window, try to add product to the cart, then I get an error:
After I have gotten the error and then I try to add another product to the cart in an original browser window, I get this HTTP 409 error again and now both sessions are in an invalid state.
How should I manage the carts, so they would work fine in different sessions over the same IP address?

There are no errors in the log, so I have little to look into.
Cart management:
Code: Select all
https://aimeos.org/docs/2024.x/frontend/jsonapi/baskets/Code: Select all
POST https://aimeos.priit.yt.lan/jsonapi/basket?id=default&related=product&_token=O8BHTPewAqsViaopHq9IDZqQ2BU5FXsPVLYSTRKa` resulted in a `409 Conflict` response: { "meta": { "total": 0, "prefixHow should I manage the carts, so they would work fine in different sessions over the same IP address?
There are no errors in the log, so I have little to look into.
Re: Cart management over the API
Maybe I already got over it. It turned out the products were not in stock.
I added some in stock and error went away for now.
I added some in stock and error went away for now.