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? Mark it as an Accepted Solution - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog