customers Query
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.
customers(
filter: CustomerFilterInput
where: CustomerWhereInput
sortBy: UserSortingInput
search: String
before: String
after: String
first: Int
last: Int
): UserCountableConnection
Arguments
customers.filter ● CustomerFilterInput deprecated input users
DEPRECATED
Use where filter instead.
Filtering options for customers.
customers.where ● CustomerWhereInput input users
Where filtering options for customers.
Added in Saleor 3.22customers.sortBy ● UserSortingInput input users
Sort customers.
customers.search ● String scalar miscellaneous
Search customers.
Added in Saleor 3.22customers.before ● String scalar miscellaneous
Return the elements in the list that come before the specified cursor.
customers.after ● String scalar miscellaneous
Return the elements in the list that come after the specified cursor.
customers.first ● Int scalar miscellaneous
Retrieve the first n elements from the list. Note that the system only allows fetching a maximum of 100 objects in a single query.
customers.last ● Int scalar miscellaneous
Retrieve the last n elements from the list. Note that the system only allows fetching a maximum of 100 objects in a single query.