INPUT_OBJECT
UpdateOpportunityInput
Id of an Opportunity record and the field values to change.
link GraphQL Schema definition
- input UpdateOpportunityInput {
- # Optional client-supplied identifier passed on a mutation input and echoed back
- # unchanged on its payload, so a client can correlate the response with its
- # request (Relay convention).
- : String
- # Unique identifier of entity.
- : ID!
- # Last modification time.
- : DateTime
- # Creation time.
- : DateTime
- # Id of the quote currently synchronized with this opportunity, or empty when no
- # quote is active. A quote can be active on only one opportunity at a time.
- : ID
- # Expected or actual closing date of the opportunity.
- : Date
- # Id of the currency exchange rate list applied to this opportunity.
- : ID
- # Free-form description of the opportunity.
- : String
- # True when the opportunity has been archived (lost). Archived opportunities
- # remain readable but are hidden from active lists and cannot be edited until
- # reactivated.
- : Boolean
- # True when value is auto-calculated from the opportunity product line items.
- # False when the user enters value directly.
- : Boolean
- # User-set colored flag used to highlight the opportunity in lists and reports.
- : Int
- # Time when an AI-suggested buying center was last applied to this opportunity.
- : DateTime
- # Id of the lead source the opportunity originated from.
- : ID
- # Name of the entity and its default text representation.
- : String
- # Id of the opportunity type.
- : ID
- # Id of the opportunity owner.
- : ID
- # Id of the currency used for product line-item prices on this opportunity.
- : ID
- # Id of the price list that supplies prices for product line items added to this
- # opportunity, or empty to use catalog defaults.
- : ID
- # Product sections grouping the record's line items, as a JSON array of {"id":
- #
, "name": } objects. Validated on write. Full structure: - # https://api-doc.coevera.com/latest/graphql/space/productsection.doc.html This
- # payload conforms to the `ProductSection` JSON Schema:
- # https://api-doc.coevera.com/schemas/ProductSection.json
- : JSONString
- # Free-text company email captured at opportunity creation when no Account record
- # has been linked yet.
- : String
- # Free-text company name captured at opportunity creation when no Account record
- # has been linked yet.
- : String
- # Free-text company phone captured at opportunity creation when no Account record
- # has been linked yet.
- : String
- # Free-text contact name captured at opportunity creation when no Contact record
- # has been linked yet.
- : String
- # Free-text contact email captured at opportunity creation when no Contact record
- # has been linked yet.
- : String
- # Free-text contact phone captured at opportunity creation when no Contact record
- # has been linked yet.
- : String
- # Qualitative ranking score (1-10) the user assigns to indicate the strength of
- # the opportunity.
- : Int
- # Free-form note explaining why the opportunity was archived (lost).
- : String
- # Id of the reason of close option selected when the opportunity was archived
- # (lost).
- : ID
- # Sharing model applied on top of the owner/unit visibility (e.g. shared with
- # selected sales units or selected users). The matching sharingUnits /
- # sharingClients lists control who is granted access.
- : ShareModeEnum
- # Id of the pipeline step.
- : ID
- # Id of the sales unit.
- : ID
- # True when the opportunity has gone through the qualification step at least once.
- : Boolean
- # Custom field values to set, as a JSON object keyed by custom field API name,
- # e.g. {"cfBudget": 1000}. Only the custom fields included are changed; each value
- # uses the format of that field.
- : JSONString
- # Revision when entity was lastly changed.
- : Int
- # Monetary value of the opportunity in the team space base currency, with the
- # foreign value and currency code preserved alongside.
- : CurrencyForeignFieldInput
- # Recurrence schedule generating periodic copies of this opportunity, or empty
- # when no recurrence is set up.
- : UpdateOpptyRecurrenceNoOpptyBackrefInput
- # Revenue schedule splitting the opportunity value across periods, or empty when
- # revenue scheduling is not enabled for this opportunity.
- : UpdateOpptyRevenueScheduleNoIdBackrefInput
- # Product line items on this opportunity. Each entry holds the product, quantity,
- # price and discount that contribute to the opportunity value when
- # isValueAutoCalculate is true.
- : [CreateOrUpdateOpptyProductRelationNoBackrefInput!]
- # Contacts linked to this opportunity, including their roles and org-chart
- # positions.
- : [CreateLeadOpptyContactRelationNoLeadOpptyBackrefInput!]
- # Accounts linked to this opportunity, including the primary-account flag.
- : [CreateLeadOpptyAccountRelationNoLeadOpptyBackrefInput!]
- # Documents linked to this opportunity.
- : [CreateCloudObjectRelationNoBackrefInput!]
- # Quotes prepared for this opportunity.
- : [CreateQuoteNoOpptyBackrefInput!]
- # Timestamp of when the opportunity was won. Setting it adjusts the underlying win
- # event; empty for opportunities that have not been won.
- : DateTime
- # Timestamp of when the opportunity was archived (lost). Setting it adjusts the
- # underlying loss event; empty for opportunities that have not been archived.
- : DateTime
- # Sales units that have been granted shared access to this opportunity. Editable
- # only when shareMode allows unit sharing.
- : [CreateLeadOpptySharingSalesUnitRelationNoLeadOpptyBackrefInput!]
- # Users that have been granted shared access to this opportunity. Editable only
- # when shareMode allows user sharing.
- : [CreateLeadOpptySharingClientRelationNoLeadOpptyBackrefInput!]
- # Tag labels applied to this opportunity.
- : [CreateTagRelationNoOpptyBackrefInput!]
- # Saved view profiles this opportunity currently matches.
- : [CreateProfileRelationNoLeadOpptyBackrefInput!]
- }