You can find resources on using the Analytics API here. You need to make sure you are requesting the correct scope during the OAuth process of installing the app. More information here.
Kevin_A | Developer Support @ Shopify - Was my reply helpful? Click Like to let me know! - Was your question answered? Click Accept as Solution