Magidoc

Opportunity
Object

Fields

#

_id

ID !
Non-null

workspace

ID !
Non-null

accountId

ID !
Non-null

name

Non-null

description

pipelineId

stageId

stageKey

pipeline

stageState

Non-null

isClosed

Non-null

isWon

Non-null

type

Non-null

Business type: an option id from the workspace's business type setting (settings.crmFieldOptions.opportunityType). Built-in ids: new, existing, renewal, expansion, upsell, crossSell, partner, rescue.

amount

currency

amountCurrency

Currency of the opportunity amount, or null when its pricing lines disagree.

probability

closeDate

lastActivityAt

Most recent linked email or completed meeting.

emailThreadCount

Non-null

Total linked email threads for this opportunity.

emailActivityCount30d

Non-null

Linked email threads active during the last 30 days.

meetingActivityCount30d

Non-null

Linked meetings completed during the last 30 days.

lastMeetingAt

Most recent linked meeting that has completed.

nextMeetingAt

recentActivity

Non-null

Three most recent linked emails or completed meetings.

hasMoreActivity

Non-null

Whether more linked activity exists beyond recentActivity.

ownerId

externalId

teamIds

[ID !]!
Non-null

primaryPersonIds

[ID !]!
Non-null

decisionCriteria

paperProcess

competition

risks

[String !]!
Non-null

whyNow

nextStep

mutualActionPlanNoteId

linkedProjectId

linkedGoalId

linkedProject

The deal's live delivery project: null when none is linked, or it is deleted or archived.

customFields

Non-null

createdAt

Non-null

modifiedAt

Non-null

createdBy

ID !
Non-null

modifiedBy

ID !
Non-null

account

owner

primaryPeople

[Person !]!
Non-null

openActionCount

Non-null

hasProposalUnderRevision

Non-null

Whether a proposal on this deal is mid-revision: an agreement stands behind it and nothing is currently accepted.

acceptedProposal

The standing agreement on this deal, if one is accepted: the proposal a delivery kickoff would be cut from.

lines

Non-null

lineTotals

Non-null

catalogFieldRollup

Non-null

amountOverridden

primaryProposalId

The selected proposal supplying the quoted forecast; null uses initial opportunity assumptions.

Usages

#

References

#

  • Field getOpportunity from Query