Request for new feature
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!
-
- Posts: 12
- Joined: 30 Jun 2022, 10:10
Request for new feature
Good evening, I want to change customer.address.position in the patch request aimeos jsonapi but it doesn't work.
I did a direct search of ai-client-jsonapi and aimeos/core source code to learn how the process of patch request works. All I get is confusion. I ask for your help to add a feature to change customer.address.position in the patch request. Thank you and consider.
I did a direct search of ai-client-jsonapi and aimeos/core source code to learn how the process of patch request works. All I get is confusion. I ask for your help to add a feature to change customer.address.position in the patch request. Thank you and consider.
- Attachments
-
- Screenshot from 2022-07-03 17-32-51.png (42.62 KiB) Viewed 867 times
-
- Posts: 12
- Joined: 30 Jun 2022, 10:10
Re: Request for new feature
and this is the response to the request
- Attachments
-
- Screenshot from 2022-07-03 17-33-03.png (7 KiB) Viewed 866 times
-
- Posts: 12
- Joined: 30 Jun 2022, 10:10
Re: Request for new feature
Aimeos version: 2022.04
PHP: 8.1.7
Linux system: Ubuntu 21.04
PHP: 8.1.7
Linux system: Ubuntu 21.04
Re: Request for new feature
The PATCH method for the basket/address resource is brand new and will be available in 2022.07+
Furthermore, you won't be able to change a single field like "order.base.address.position" because Aimeos supports adding several addresses. Instead, you have to pass the complete billing or delivery address(es) to the JSON API and it will remove the existing ones first and add the new ones afterwards - just like the new PATCH method for basket/service.
Furthermore, you won't be able to change a single field like "order.base.address.position" because Aimeos supports adding several addresses. Instead, you have to pass the complete billing or delivery address(es) to the JSON API and it will remove the existing ones first and add the new ones afterwards - just like the new PATCH method for basket/service.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star