Skip to main content
QUERY
opportunities(after: String, first: Number, fromDate: String, leadId: String, stage: OpportunityStage, toDate: String): OpportunityConnection!

Arguments

after
String
first
Number
fromDate
String

Keep calls scheduled on/after this date (ISO 8601).

leadId
String

Keep only opportunities belonging to this lead.

Filter by derived pipeline stage within a bounded search. See scanLimited and continuationCursor.

toDate
String

Keep calls scheduled on/before this date (ISO 8601).

continuationCursor
String

Cursor for the next search page. Pass it as after when pageInfo.hasNextPage is true. When scanLimited is true, this can advance beyond pageInfo.endCursor, including an empty page.

pageInfo
scanLimited
Boolean!

True when the stage search reached its 500-row limit before filling this page. Continue with continuationCursor to search the remaining rows.

totalCount
Number
Query
Response