JSONAPI filter in Service
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
JSONAPI filter in Service
Hi
I am on the aimeos-headless. The "filter" parameter does not seem working in "service" endpoint in both version 2022.10 and 2023.04.
I have no issue filtering by attributes in both "product" and "supplier". e.g. "filter[==][product.type]=default" and "filter[==][supplier.code]=mysupplier". But it does not respond whatsoever for service. For example, I was trying to filter by service type using "filter[==][service.type]=delivery".
Thanks.
I am on the aimeos-headless. The "filter" parameter does not seem working in "service" endpoint in both version 2022.10 and 2023.04.
I have no issue filtering by attributes in both "product" and "supplier". e.g. "filter[==][product.type]=default" and "filter[==][supplier.code]=mysupplier". But it does not respond whatsoever for service. For example, I was trying to filter by service type using "filter[==][service.type]=delivery".
Thanks.
Re: JSONAPI filter in Service
Filtering services is only available by type and requires a special parameter "cs_type":
https://github.com/aimeos/ai-client-jso ... d.php#L182
https://github.com/aimeos/ai-client-jso ... d.php#L182
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