Skip to content

The one with Shopify API versioning support!

Compare
Choose a tag to compare
@rickywiens rickywiens released this 25 Apr 21:32
· 131 commits to master since this release

Overview

We've implemented support for Shopify's API versioning. To use it instantiate a client like below:

// Instantiate client with specific API version - 2019-12
client := goshopify.NewClient(app, "my-shop", "not-a-real-token", goshopify.WithVersion("2019-12"))
// Instantiate client without specific API version, will default to no api version, which defaults to the oldest supported API version
client := goshopify.NewClient(app, "my-shop", "not-a-real-token")

You can read more about this here

Thanks a tonne to @dougyss4 for implementing this!