Magidoc

CreateOpportunityInput
Input Object

Fields

#

accountId

ID !
Non-null

amount

approvalState

closeDate

competition

currency

customFields

decisionCriteria

linkToActionId

When set, persists a native CRM association (linked_action) between this new opportunity and the Hive action in the same workspace—same direction as manual linking in the action CRM panel (opportunity → action). Use from Buzz when creating an opportunity from an action card so the link survives beyond comments.

linkedGoalId

linkedProjectId

mutualActionPlanNoteId

name

Non-null

nextStep

ownerId

paperProcess

pipelineId

primaryPersonIds

[ID !]

probability

risks

stageId

stageKey

teamIds

[ID !]

type

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.

Default: "new"

whyNow

Usages

#

References

#

  • Argument input of field createOpportunity from type Mutation