Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Add deprecation note to CheckoutUpdateVoucher

fowczarek906bd8d31d3f
diff --git a/saleor/graphql/checkout/mutations.py b/saleor/graphql/checkout/mutations.py
index 4793248736..94b54ab264 100644
--- a/saleor/graphql/checkout/mutations.py
+++ b/saleor/graphql/checkout/mutations.py
@@ -529,6 +529,7 @@ class CheckoutUpdateVoucher(BaseMutation):
class Meta:
description = (
+ "DEPRECATED: Use CheckoutAddPromoCode or CheckoutRemovePromoCode instead. "
"Adds voucher to the checkout. Query it without voucher_code "
"field to remove voucher from checkout."
)