Skip to main content
Version: 3.x

customers

List of the shop's customers.

Requires one of the following permissions: MANAGE_ORDERS, MANAGE_USERS.

customers(
filter: CustomerFilterInput
sortBy: UserSortingInput
before: String
after: String
first: Int
last: Int
): UserCountableConnection

Arguments

filter (CustomerFilterInput)

Filtering options for customers.

sortBy (UserSortingInput)

Sort customers.

before (String)

Return the elements in the list that come before the specified cursor.

after (String)

Return the elements in the list that come after the specified cursor.

first (Int)

Return the first n elements from the list.

last (Int)

Return the last n elements from the list.

Type

UserCountableConnection