I want to call rest api in the shopify embedded app, how can i get the access token in the react?

Highlighted
New Member
3 0 0

I am following this tutorial to build an app: https://shopify.dev/tutorials/build-a-shopify-app-with-node-and-react

 

I want to query the abandoned checkout, so I think I should use rest api instead of grapql.
However I don't know how tot get the access token in the react component.
Can somebody tell me how to do this?

0 Likes