I am doing a search via the REST API, looking for products with a certain color and a certain name:
http://127.0.0.1/index.php/rest/V1/products/?searchCriteria[filter_groups][0][filters][0][field]=color&searchCriteria[filter_groups][0][filters][0][value]=49&searchCriteria[filter_groups][0][filters][0][condition_type]=eq&searchCriteria[filter_groups][1][filters][0][field]=name&searchCriteria[filter_groups][1][filters][0][value]=hero%25&searchCriteria[filter_groups][1][filters][0][condition_type]=like
This returns the products I am expecting. It is returning all the variant that match the search to. For example (using the magento sample data), I get:
- Hero Hoodie-XS-Black
- Hero Hoodie-S-Black
- Hero Hoodie-MS-Black
These are all "simple" products, but how do I know they are related? There doesn't appear to be any information in the JSON response to indicate that the products are related, or what their associated configurable product is.