Shopify / analytics-api-example

Example app from March 2016 Unite Talk
13 stars 6 forks source link

Access to additional schemas #1

Open clement911 opened 7 years ago

clement911 commented 7 years ago

Hi @tylermercier ,

Sorry I wasn't sure how to reach out so I thought I'd create a an issue.

I'm building a shopify app at the moment that heavily utilizes shopifyql. As you know at the moment only the visits schema is available. When can we expect additional schemas to be made available as well? If I remember correctly, you mentioned that shopify was normalizing some data internally before exposing it to the public... but it's been a few months now...

Also, I believe you also mentioned during your unite talk that the api would be made available for more plans (basic, shopify, etc...). Do you have any update on that front? Obviously, that would have a significant impact on the potential target market for any app using the analytics api...

tylermercier commented 7 years ago

Hi Clement,

No updates on any plan restriction changes. The Analytics API remains restricted to the Advanced Shopify plans.

We successfully switched over the admin to the new sales model a few months ago. We are still working through some performance improvements and will need to release documentation for the new schemas. Expect something in the new year.

Edit: Corrected the required plan.

clement911 commented 7 years ago

Thank for your quick response.

I'm confused. https://help.shopify.com/api/tutorials/analytics-api states:

To access the Analytics API, a shop must have the advanced report builder feature, included in the Advanced Shopify plan and up.

But you are saying it is also available to the Shopify plan?

in the new year

You mean like shortly after the new year, right?

If I understand correctly then there will be one additional schema for sales. Is it on the roadmap to also expose the additional schemas that the built-in reports already use: (payments, taxes, customers and behaviors).

If not, I guess I'd have to build my own data model (using the read apis and webhooks) and query my own database instead. That's doable, but that seems a bit silly to replicate a solution that is already implemented by Shopify...

clement911 commented 7 years ago

I guess I'll use webhooks to get access to other data... Looking forward to the new year release...

joesideas commented 4 years ago

Has anyone had success getting any of these data points?

I see them in Analytics but can't find a matching schema in the Shopify documentation.