Skip to content

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

Add missing description for sample payload query

Maciej Korycinski195d1c00c012
diff --git a/saleor/graphql/webhook/schema.py b/saleor/graphql/webhook/schema.py
index 59930be6cc..4c28efd38f 100644
--- a/saleor/graphql/webhook/schema.py
+++ b/saleor/graphql/webhook/schema.py
@@ -29,6 +29,10 @@ class WebhookQueries(graphene.ObjectType):
required=True,
description="Name of the requested event type.",
),
+ description=(
+ "Retrieve a sample payload for a given webhook event based on real data. It"
+ " can be useful for some integrations where sample payload is required."
+ ),
)
@staticmethod