Is it possible to get all products under catalog/producttype via the Content Delivery API?


(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.

Feb 04, 2020 12:35

Have you seen this? Or did you mean retreiving the children through a friendly url?

Feb 04, 2020 12:50

Yes i've seen that. I mean retrieving children through friendly url :)

Feb 04, 2020 12:52

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

Feb 04, 2020 14:12
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.