Solved

New GraphQL API and the Shopify Python Library?

casadev
Visitor
1 0 1

I've been reading about the new GraphQL API and I'm not quite sure what that means for Shopify's Python API. According to the GitHub repository, it relies heavily on the pyactiveresource library, which maps to the REST webservices resources. Should my custom app be migrated or what am I expected to do now?

Accepted Solution (1)

Ashish_Shah
Shopify Staff
20 7 26

This is an accepted solution.

Hello @casadev 

You will no longer be able to use the REST wrappers. You will have to use the GQL client: https://github.com/Shopify/shopify_python_api?tab=readme-ov-file#graphql

ALIAS | 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

View solution in original post

Reply 1 (1)

Ashish_Shah
Shopify Staff
20 7 26

This is an accepted solution.

Hello @casadev 

You will no longer be able to use the REST wrappers. You will have to use the GQL client: https://github.com/Shopify/shopify_python_api?tab=readme-ov-file#graphql

ALIAS | 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