Skip to main content

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_ORDERSMANAGE_USERS
customers(
filter: CustomerFilterInput
sortBy: UserSortingInput
before: String
after: String
first: Int
last: Int
): UserCountableConnection

Arguments

customers.filter ● CustomerFilterInput input users

Filtering options for customers.

customers.sortBy ● UserSortingInput input users

Sort customers.

customers.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.

Type

UserCountableConnection object users