Control GraphQL API version from shopify app CLI (node)

Control GraphQL API version from shopify app CLI (node)

gadeichhorn
Shopify Partner
2 0 2

Hello

 

We are building a shopify app using the CLI (latest) and we need to access the latest GraphQL version 2022-01

Is there a way to control the version from the app code?

We are getting errors when calling the API because the version (default) is 2021-10.

 

Can we change this default?

 

shopify CLI ver 2.13.0

type: nodejs/react

 

Thanks.

G.

Gadi,

a beginner shopify developer.
Replies 0 (0)