Shopify API changes
[Update: April 2, 2020 Our Shopify doc has more details if the below aren't working for you: https://support.klipfolio.com/hc/en-us/articles/215546588#managing
Not all the end-points are migrated to cursor-based pagination in version 2019-07 e.g /order.json
is not, in that case if user has Paginate:
checkbox checked it will only return 50. To return all the records use the version 2019-10. ( which has support for cursor-based pagination for all the end-points ).]
Hey everyone!
Just a heads up that the Shopify API is changing on April 1, 2020.
There is one required action to take to ensure your Shopify data sources function properly:
- Shopify is moving from numbered pagination to cursor-based pagination starting April 1st 2020. To ensure your data source queries continue to function as expected you will need to remove any references to the page=X parameters in your urls. We now automatically take care of pagination for the Shopify connector so you no longer need to specify the pages manually as of April 1, 2020.
Here are a couple of important things to note:
- Shopify is deprecating their Rest API version 2019-04 on April 1st and new versions 2019-07 and later ( 2019-10 & 2020-01 ) support cursor-based pagination.
- What does that mean for your data sources?
- If the end-point URL does not include the API version in it , Shopify automatically uses the oldest supported stable version which is 2019-04 until April 1st.
- e.g https://klipfolio.myshopify.com/admin/orders.json will become https://klipfolio.myshopify.com/admin/api/2019-04/orders.json until April 1st
- https://klipfolio.myshopify.com/admin/orders.json will become https://klipfolio.myshopify.com/admin/api/2019-07/orders.json After April 1st.
- If you wish to use a certain version of the Shopify API you must now specify it in the query URL or else it will default to the oldest supported version.