For now you can with an api call retrieve all categories. But since the product api call does not hold the category id linked to the product, it's hard to actually use the category in any way (i.e. sorting).
If the id_category were included into the product serializer it would be much more useful.
For now you can with an api call retrieve all categories. But since the product api call does not hold the category id linked to the product, it's hard to actually use the category in any way (i.e. sorting).
If the id_category were included into the product serializer it would be much more useful.