Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#14475: Improve description for customers query #16037

Merged
merged 1 commit into from
May 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion saleor/graphql/account/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)
Expand Down
2 changes: 1 addition & 1 deletion saleor/graphql/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -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.
"""
Expand Down