UpdateOpportunityInput Input Object
Fields
#
accountId
amount
approvalState
closeDate
competition
currency
customFields
Patches opportunity custom fields by Hive custom-field ID. Discover active IDs and types with getCustomFields(workspaceId, itemType: opportunity). Each entry changes or clears only its own field; omitted siblings and Salesforce sync metadata are preserved. Empty or null values clear the matching field. Unknown IDs and values that do not match the field type return an error.
decisionCriteria
description
expectedModifiedAt
Optional optimistic concurrency guard. Reject if the opportunity changed since it was read.
forecastCategory
name
nextStep
ownerId
paperProcess
pipelineId
probability
risks
stageId
teamIds
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.
whyNow
Usages
#
References
#
- Argument input of field updateOpportunity from type Mutation
UpdateMyHomeScratchPadInput