I have three custom types : zones, brands and products. The product type has a relationship to a zone, and to a brand.
How can I retrieve a list of all zones where at least one product is related to the zone and related to brand X ? Also, retrieve all brands for which at least one product is related to this brand and related to zone X ?
I can use graphQL or the SDK or anything else. We are using PHP