Hello fellow developers.
I'm trying to find a way to get the relations between products and collections (both custom and smart collections) using PHP and the REST API.
Before I have used the "Collects" endpoint, but that doesn't seem to work with the new API versions, when using smart collections.
Can anyone help me with an example? Or just a hint how to do this?