List B2C Connections (User, Paginated)
GraphQL endpoint: /user
Lists the calling user's connections to companies. Results can be filtered by connection type (includedTypes) or by the company's legal name (legalName), and are cursor-paginated: pass limit and the previous page's nextCursor as cursor to fetch the next page.
Query
query (
$includedTypes: [B2cConnectionType!]
$legalName: String
$limit: Int
$cursor: String
) {
paginatedB2cConnections (
includedTypes: $includedTypes
legalName: $legalName
limit: $limit
cursor: $cursor
) {
paginationInfo {
limit
nextCursor
}
records {
id
type
company {
id
legalName
}
}
}
}
Variables
Response
Last updated