cancel
Showing results for 
Search instead for 
Did you mean: 

Magento v2 Rest Api for React Native

Magento v2 Rest Api for React Native

Hey guys, I'm working on a react native app for a client who's website is already created on Magento v2. I'm trying to connect my app with the magento rest apis but so far I've only succeeded in logging with the customer's credentials and generating a token. I'm not able to fetch list of products & categories with this token. Neither does the /rest/V1/customers/me api work. Can't get my own details either. Do I really need an admin token here? Can I create a custom integration token that will allow me to only send GET requests for products & categories and allow me to POST orders. So even if I expose this token its safe? or am I missing something and is there some better practice at implementing this? Please help. Thanks! Smiley Happy