Query
query ListCustomers {
listCustomers {
count
pageInfo {
hasPreviousPage
hasNextPage
startCursor
endCursor
}
edges {
cursor
node {
id
entryType
customerType
displayName
email
phoneNumber
}
}
}
}Response
{
"data": {
"listCustomers": {
"count": 1,
"pageInfo": {
"hasPreviousPage": true,
"hasNextPage": true,
"startCursor": "string",
"endCursor": "string"
},
"edges": [
{
"cursor": "string",
"node": {
"id": "id",
"entryType": "string",
"customerType": "string",
"displayName": "string",
"email": "string",
"phoneNumber": "string"
}
}
]
}
}
}Queries
listCustomers
QUERY
listCustomers(first: Int, before: String, after: String, last: Int, search: String, filters: CustomerListFilters, orderBy: [CustomerListOrder!]): CustomerConnectionArguments
first
Int
The number of records to return from the beginning. Maximum 500
before
String
Show records before the specified keyset.
after
String
Show records after the specified keyset.
last
Int
The number of records to return to the end. Maximum 500
search
String
filters
orderBy
Returns
count
Int
Total count on all pages
pageInfo
Page information
edges
[CustomerEdge!]
:customer edges
Query
query ListCustomers {
listCustomers {
count
pageInfo {
hasPreviousPage
hasNextPage
startCursor
endCursor
}
edges {
cursor
node {
id
entryType
customerType
displayName
email
phoneNumber
}
}
}
}Response
{
"data": {
"listCustomers": {
"count": 1,
"pageInfo": {
"hasPreviousPage": true,
"hasNextPage": true,
"startCursor": "string",
"endCursor": "string"
},
"edges": [
{
"cursor": "string",
"node": {
"id": "id",
"entryType": "string",
"customerType": "string",
"displayName": "string",
"email": "string",
"phoneNumber": "string"
}
}
]
}
}
}