opportunities
Fetch all opportunities for this Kraken, with optional filtering.
Arguments
Returns
OpportunitiesConnectionPossible Errors
Allowed Viewers
Required Permissions
Can query leadsQuery Complexity
3Examples
The example data in the variables and responses below are autogenerated values designed to resemble real inputs. They do not represent actual customer data, and in some cases may require additional validation.
query Opportunities(
$after: String,
$before: String,
$first: Int,
$input: OpportunitiesQueryInput,
$last: Int,
$offset: Int
) {
opportunities(
after: $after,
before: $before,
first: $first,
input: $input,
last: $last,
offset: $offset
) {
edgeCount
edges {
...OpportunitiesEdgeFragment
}
pageInfo {
...PageInfoFragment
}
totalCount
}
}
Variables
{
"after": "YXJyYXljb25uZWN0aW9uOjEw=",
"before": "YXJyYXljb25uZWN0aW9uOjEw=",
"first": 10,
"input": OpportunitiesQueryInput,
"last": 10,
"offset": 69
}
Response
{
"data": {
"opportunities": {
"edgeCount": 90,
"edges": [OpportunitiesEdge],
"pageInfo": PageInfo,
"totalCount": 7
}
}
}