From 3a505f1e52cdc95d7e7c2993477f12920552c689 Mon Sep 17 00:00:00 2001 From: Eduardo Fortuna Date: Wed, 7 Sep 2022 22:45:52 -0500 Subject: [PATCH] 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. --- packages/shopify/src/const.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/shopify/src/const.ts b/packages/shopify/src/const.ts index a8ee70586..fb15f9708 100644 --- a/packages/shopify/src/const.ts +++ b/packages/shopify/src/const.ts @@ -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