From 11a88c1a7f1ca181987dcf16231896df989cec24 Mon Sep 17 00:00:00 2001 From: ngi-odoo Date: Wed, 7 Sep 2022 12:41:00 +0200 Subject: [PATCH] Fix Gift Card Adjustment According to the api (https://shopify.dev/api/admin-rest/2022-07/resources/gift-card-adjustment#get-gift-cards-gift-card-id-adjustments), the url should not include /admin before /gift_cards. This commit removes the /admin in order to make it working --- shopify/resources/gift_card_adjustment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shopify/resources/gift_card_adjustment.py b/shopify/resources/gift_card_adjustment.py index 2314cdb6..fb34eccf 100644 --- a/shopify/resources/gift_card_adjustment.py +++ b/shopify/resources/gift_card_adjustment.py @@ -2,6 +2,6 @@ class GiftCardAdjustment(ShopifyResource): - _prefix_source = "/admin/gift_cards/$gift_card_id/" + _prefix_source = "/gift_cards/$gift_card_id/" _plural = "adjustments" _singular = "adjustment"