Hi everyone, I’m a Shopify app dev beginner, struggling to figure out how to make call REST APIs with curl.
IMHO, the shopify API docs are far from easy to understand, after reading again and again, I failed, please help!!
What I want to do is just to make a call like this:
curl -X GET \ https://{shop}.myshopify.com/admin/api/2021-07/shop.json \
-H 'Content-Type: application/json' \
-H 'X-Shopify-Access-Token: {password}'
As said in the doc here: https://shopify.dev/api/admin-rest#authentication
X-Shopify-Access-Token is the access token, and Public and custom apps generate tokens using OAuth.
But I totally got lost in the OAuth doc page, could anyone show me an simple example how to get the token for this curl call?