An example client written in Kotlin that calls Shopify using Apollo.
The only thing you need to do is write your queries as graphql files and then execute them. Super simple.
- Run the
downloadServiceApolloSchemaFromIntrospectiontask. This will generate the schema in the source files. - Copy your myshopify domain and app's access token to
Main.ktandbuild.gradle.kts - Run and view the output.