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
downloadServiceApolloSchemaFromIntrospection
task. This will generate the schema in the source files. - Copy your myshopify domain and app's access token to
Main.kt
andbuild.gradle.kts
- Run and view the output.