OpportunitiesQueryInput
Input fields
Filter opportunities by assigned to affiliate number.
Filter opportunities by assigned to team.
Please use 'assignedToTeamIdentifier' instead.
- Marked as deprecated on 2026-04-22.
- Scheduled for removal on or after 2026-06-22.
The identifier of the team the leads are assigned to.
The identifier of the user the leads are assigned to.
Filter opportunities created at or after this datetime (inclusive).
Filter opportunities created before this datetime (exclusive). Together, createdAfter and createdBefore represent the [createdAfter, createdBefore) interval.
Filter opportunities by contact email address. This filter is ignored when freeText is a valid email.
Search opportunities by opportunity number, customer name, email, phone number, or national ID. If freeText is a valid email and email is also provided, the email from freeText takes precedence.
Filter opportunities by funnel code.
Filter opportunities by contact landline number.
Filter opportunities by lead number.
Filter opportunities by contact phone number.
Filter opportunities by product offering identifier.
Filter opportunities by sales channel.
Filter opportunities by stage.
Filter opportunities by supply point markets.
Example
{
"assignedToAffiliateNumber": "central-expert-pick-clear-feel",
"assignedToTeamIdentifier": "99517532",
"assignedToUserIdentifier": "46138016",
"createdAfter": "1981-08-15T02:36:34.850706+00:00",
"createdBefore": "1979-06-02T13:10:29.954948+00:00",
"email": "draw-hour-admit-officer-practice",
"freeText": "your-someone-happen-toward-nature",
"funnelCode": "later-camera-look-family-establish",
"landlineNumber": "own-new-large-investment-game",
"leadNumber": "paper-size-maybe-experience-food",
"phoneNumber": "stand-thought-success-different-society",
"productOfferingId": "90849933",
"salesChannel": "us-garden-his-produce-compare",
"stageCode": "recent-such-cover-sense-population",
"supplyPointMarkets": "GBR_ELECTRIC_JUICE"
}