Skip to main content

customerConnection

Fetch Customers
Restrictions: Requires an admin user, results restricted by usertype

customerConnection(
filter: CustomerFilter
sort: CustomerSort = [object Object]
first: Int! = 30
after: String
): CustomerConnection

Arguments

filter ● CustomerFilter

Manage what data you will get.

sort ● CustomerSort

Which algorithms we will sort by. (default: customer id in ascending order)

first ● Int!

How many customers will be fetched. (default: 30, max: 200)

after ● String

Cursor based pagination. The ID, in this case customer ID, of the last item on the previous page.

Type

CustomerConnection

Represent a paginated connection of customers