Forum Discussion

tomringer's avatar
tomringer
Frequent Visitor
8 years ago
Solved

API web link to shopify only 50 rows returned in query editor

We're trying to link PBI with our shopify ecommerce platform. We can connect fine using get data > Web > basic and then using an https// connection and the shopfity generated api key and password. The problem is when we create the table in query editor only 50 rows are brougt back, I can't see anything in the advanced editor code - anyone got any ideas?

Thanks,

Tom

4 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    tomringer,

    Based on my research, there is a limitation that each call returns only 50 records in Shopfiy Rest API, you may need to increase the limit in Shopfiy URL and loop the api call to return all records. There are similar threads for your reference.

    https://ecommerce.shopify.com/c/shopify-apis-and-technology/t/single-call-to-order-api-only-returns-49-orders-393401
    https://ecommerce.shopify.com/c/shopify-apis-and-technology/t/api-response-max-limit-444117

    Regards,
    Lydia

  • Hi tomringer were you able to find a solution? As a workaround, maybe you can try to test your connection with a 3rd party connector. I've tried windsor.ai, supemetrics and funnel.io. I stayed with windsor because it is much cheaper so just to let you know other options. In case you wonder, to make the connection first search for the Shopify connector in the data sources list:

     

     

    After that, you need to follow instructions and install the windsor.ai app from the Shopify App Store:

     

     

    then on preview and destination page you will see a preview of your Shopify fields

     

     

    There just select the fields you need. Finally, just select PBI as your data destination and finally just copy and paste the url on PBI --> Get Data --> Web --> Paste the url.