Page 1 of 1

Query Catalog items & Custom Fields

Posted: Wed Oct 16, 2024 7:27 am
by stoney123
Hi

Is it possible to query Catalog items with a Custom field with a certain field via your API?

We have a custom field called "WEB-FRIENDLY" and we would like to find all Catalog items that have this field set to "YES".

https://developer.simprogroup.com/apido ... g/Catalogs

Thanks

Re: Query Catalog items & Custom Fields

Posted: Fri Oct 18, 2024 6:34 am
by SimproAPITeam
Hi stoney123,
Adding these parameters to your search should help you get the catalog items you are looking for.

Code: Select all

/catalogs/?CustomFields.CustomField.Name=web-friendly&CustomFields.Value=yes
You can also search for CustomField.ID insted of Name if you have the ID.

Regards

Re: Query Catalog items & Custom Fields

Posted: Tue Oct 22, 2024 10:29 am
by stoney123
Hi

This works perfectly, thank you!

I couldn't find this in the documentation under search query parameters, this might be helpful to add for other users (https://developer.simprogroup.com/apido ... 393873009b)

Thanks again for your help.