Hi , I am making a simple ecommerce website, and I am going to make admin dashboard on frontend which allows admin to see orders placed by customers. How can I have access to orders from frontend as an admin?
Within the users-permissions plugin, I’d just create a new admin role and assign CRUD permissions for your orders content-type. Then, you can access your orders via REST API in the frontend.
I have already done that my question was how to access, throught jwt token, or something?