Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
#14475: Improve description for customers query | changes in schema.py and schema.graphql
Quazi Ghulam Rafi07c3866b4acf
diff --git a/saleor/graphql/account/schema.py b/saleor/graphql/account/schema.pyindex e9f05a5b10..a0f553864a 100644--- a/saleor/graphql/account/schema.py+++ b/saleor/graphql/account/schema.py@@ -138,7 +138,7 @@ class AccountQueries(graphene.ObjectType):UserCountableConnection,filter=CustomerFilterInput(description="Filtering options for customers."),sort_by=UserSortingInput(description="Sort customers."),- description="List of the shop's customers.",+ description="List of the shop's customers. This list includes all users who registered through the accountRegister mutation. Additionally, staff users who have placed an order using their account will also appear in this list.",permissions=[OrderPermissions.MANAGE_ORDERS, AccountPermissions.MANAGE_USERS],doc_category=DOC_CATEGORY_USERS,)diff --git a/saleor/graphql/schema.graphql b/saleor/graphql/schema.graphqlindex 5348fb2837..8212d4f8b9 100644--- a/saleor/graphql/schema.graphql+++ b/saleor/graphql/schema.graphql@@ -1560,7 +1560,7 @@ type Query {): Address @doc(category: "Users")"""- List of the shop's customers.+ List of the shop's customers. This list includes all users who registered through the accountRegister mutation. Additionally, staff users who have placed an order using their account will also appear in this list.Requires one of the following permissions: MANAGE_ORDERS, MANAGE_USERS."""