I am trying to call on an API to get a view of the orders of a shop. I am using Rstudio to do this. I only have collaborator access to this shop, not admin permissions. I'm having a hard time finding the right code to do this because all the code online seems to require you to have admin permissions. My question in short is:
How do I write code that takes my level of access into account?