JSONADM combine filter

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!
matteovg7
Posts: 14
Joined: 12 Dec 2019, 16:13

JSONADM combine filter

Post by matteovg7 » 26 Mar 2020, 15:17

Hi, I have some trouble using the combined filter of the JSONADM API.
I followed this guide https://aimeos.org/docs/Developers/Admi ... arch_items

I can get the filtered results without the combine operator, but when I try to use the combine operator i receive an error.

For example, I'm trying to make this GET request:

http://aimeos.test:8888/admin/default/j ... tatus%5D=1

but I receive this error: "title": "Invalid operator \"catalog.lists.domain\"".

Where am I wrong?

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

Re: JSONADM combine filter

Post by aimeos » 27 Mar 2020, 16:55

Between "&&" and "==" must be "[]" so an array is created:
http://aimeos.test:8888/admin/default/j ... .status]=1
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply