Update Shopify URL actual release

The storefront api has changes about metafields that now work differently.

The current shopify storefront api documentation handles the examples with the new version.
This commit is contained in:
Eduardo Fortuna 2022-09-07 22:45:52 -05:00 committed by GitHub
parent 87134e2990
commit 3a505f1e52
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,6 +8,6 @@ export const STORE_DOMAIN = process.env.NEXT_PUBLIC_SHOPIFY_STORE_DOMAIN
export const SHOPIFY_COOKIE_EXPIRE = 30
export const API_URL = `https://${STORE_DOMAIN}/api/2021-07/graphql.json`
export const API_URL = `https://${STORE_DOMAIN}/api/2022-07/graphql.json`
export const API_TOKEN = process.env.NEXT_PUBLIC_SHOPIFY_STOREFRONT_ACCESS_TOKEN