Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Update description of channel_id input field on ChannelDeleteInput (#16318)
Iga Karbowiak7b25c1f67bf7
diff --git a/saleor/graphql/channel/mutations/channel_delete.py b/saleor/graphql/channel/mutations/channel_delete.pyindex 1c94c3e64d..90ee4ef0e8 100644--- a/saleor/graphql/channel/mutations/channel_delete.py+++ b/saleor/graphql/channel/mutations/channel_delete.py@@ -23,7 +23,10 @@ from ..utils import delete_invalid_warehouse_to_shipping_zone_relationsclass ChannelDeleteInput(BaseInputObjectType):channel_id = graphene.ID(required=True,- description="ID of channel to migrate orders from origin channel.",+ description=(+ "ID of a channel to migrate orders from the origin channel. "+ "Target channel has to have the same currency as the origin."+ ),)class Meta:diff --git a/saleor/graphql/schema.graphql b/saleor/graphql/schema.graphqlindex 0c5d61e12c..d30962d701 100644--- a/saleor/graphql/schema.graphql+++ b/saleor/graphql/schema.graphql@@ -30063,7 +30063,9 @@ type ChannelDelete @doc(category: "Channels") @webhookEventsInfo(asyncEvents: [C}input ChannelDeleteInput @doc(category: "Channels") {- """ID of channel to migrate orders from origin channel."""+ """+ ID of a channel to migrate orders from the origin channel. Target channel has to have the same currency as the origin.+ """channelId: ID!}