Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Add depracation info to VoucherTypeEnum
fowczarek2d11e8b64ed5
diff --git a/saleor/graphql/discount/mutations.py b/saleor/graphql/discount/mutations.pyindex bc844b7b32..f2cdc7bad9 100644--- a/saleor/graphql/discount/mutations.py+++ b/saleor/graphql/discount/mutations.py@@ -66,7 +66,11 @@ class BaseDiscountCatalogueMutation(BaseMutation):class VoucherInput(graphene.InputObjectType):type = VoucherTypeEnum(- description="Voucher type: product, category shipping or value."+ description=(+ "Voucher type: product, category shipping or entire order. "+ "Deprecated: PRODUCT, COLLECTION, CATEGORY are deprecated, "+ "use SPECIFIC_PRODUCT instead."+ ))name = graphene.String(description="Voucher name.")code = graphene.String(decription="Code to use the voucher.")