#Getting a list of tags from products on front end
4 messages · Page 1 of 1 (latest)
would my best bet be to create my own endpoint?
We have an open ticket for adding a tag endpoint to the storefront API, so it will be added in the near future. But in the meantime you could easily create and endpoint for it in your server. You could simply copy and paste the code from the existing admin endpoint, found here: https://github.com/medusajs/medusa/blob/master/packages/medusa/src/api/routes/admin/product-tags/list-product-tags.ts
I made these two routes for this you might find them helpful