From 203df246f4484cb151ece793b86725eeb045b794 Mon Sep 17 00:00:00 2001 From: Ankush Menat Date: Wed, 6 Apr 2022 10:42:39 +0530 Subject: [PATCH] fix: bump shopify api version No breaking changes that affect integration as per: https://shopify.dev/api/release-notes/2022-04 --- .pre-commit-config.yaml | 1 + ecommerce_integrations/shopify/constants.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4a4cceec..e5b856cc 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -18,6 +18,7 @@ repos: hooks: - id: black exclude: ".*setup.py$" + additional_dependencies: ['click==8.0.4'] - repo: https://github.com/timothycrosley/isort rev: 5.9.1 diff --git a/ecommerce_integrations/shopify/constants.py b/ecommerce_integrations/shopify/constants.py index 59610d6f..5bfed524 100644 --- a/ecommerce_integrations/shopify/constants.py +++ b/ecommerce_integrations/shopify/constants.py @@ -6,7 +6,7 @@ SETTING_DOCTYPE = "Shopify Setting" OLD_SETTINGS_DOCTYPE = "Shopify Settings" -API_VERSION = "2021-04" +API_VERSION = "2022-04" WEBHOOK_EVENTS = [ "orders/create",