(i'm new to Commerce but not CMS)
I'm trying out the content delivery API with Epi Commerce, and can get products via friendly URLs, and also a root catalog, but I wonder if it's possible to do something like:GET http://localhost:12345/en/productcatalog/product/children
What is the recommended way of getting all products of a type for use on product listings? Should I just use Find together with Content Delivery API?I'm interested in how I get this data as json from the API, _not_ rendered via a controller.
Have you seen this? Or did you mean retreiving the children through a friendly url?
Yes i've seen that. I mean retrieving children through friendly url :)
As /children is not a valid friendly/existing url you will probably get a 404? I think the segments "children" and "ancestors" are only applicable to the content api calls/urls