Update interval value using json api

How to configure and adapt Aimeos based shops as developer
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!
User avatar
NouhailaBertal
Posts: 1
Joined: 11 Oct 2021, 09:32

Update interval value using json api

Post by NouhailaBertal » 16 Dec 2021, 10:50

Hi I want to update interval value on basket page using json api and jquery :
2021-12-16 (2).png
2021-12-16 (2).png (44.16 KiB) Viewed 661 times
Customer will choose the new interval value then click on update.
I have followed the documentation but the interval still the same (no changed )
2021-12-16 (5)_LI.jpg
2021-12-16 (5)_LI.jpg (105.78 KiB) Viewed 661 times

User avatar
aimeos
Administrator
Posts: 7858
Joined: 01 Jan 1970, 00:00

Re: Update interval value using json api

Post by aimeos » 16 Dec 2021, 17:11

You use the "basket" resource and the "GET" method for your request but you need the "PATCH" method for the "basket/product" resource:

https://aimeos.org/docs/latest/frontend ... t-products
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply