Search Query for Custom Attributes in Catalogs

Hi, I need a way to store stock IDs from an external system into Square. Custom Attributes look like a good solution, except I’ve been unable to perform a search or ‘get’ using the custom attribute which leaves me either having to retrieve all catalog items and then do my own search on them, or risk putting the ID somewhere which may be visible/editable to a user.

I’ve posed this on Slack and Stephen Josey confirmed that there is not a way to search with custom attributes and said to make a feature request.

Thanks