Yes, we can provide training and implementation services around using the commercetools platform and API for headless commerce. Contact us if you would like to discuss: www.sunriseintegration.com/contact-us
@ОксанаФедотова-у3м
Жыл бұрын
Hello! And what kind of request at Postman I have to send to get all products from category?
@sunriseintegration
Жыл бұрын
Start by getting the commercetools Postman Collection. Then you can t hen do a GET request on the /categories endpoint. This will return all of the categories.
@ОксанаФедотова-у3м
Жыл бұрын
@@sunriseintegration Thank you for your replay! I can send GET request to get all categories like this: {{host}}/{{project-key}}/categories, also I can get category by id with GET request: {{host}}/{{project-key}}/categories/{{category-id}}. But I don't understand how can I get all products with the same category id. For example, at SQL I can request something like this: select all products where category id is id. Does this api have an endpoint for this request?
@sunriseintegration
Жыл бұрын
@@ОксанаФедотова-у3м try using the Projection Search /product-projections/search You add queries and filters by category.
Пікірлер: 7