INPUT_OBJECT
CreateOpportunityInput
link GraphQL Schema definition
- input CreateOpportunityInput {
- : String
- # Last modification time.
- : DateTime
- # Creation time.
- : DateTime
- # Id of the active quote.
- : 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
- # Id of the lead source.
- : 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 product currency.
- : ID
- # Id of the product price list.
- : ID
- # Product sections on Opportunity in json format
- : 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 value.
- : ID
- # Sharing model applied on top of the owner/unit visibility (e.g. shared with
- # selected sales units or selected users). The matching sharing_units /
- # sharing_clients 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
- : 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.
- : CreateOpptyRecurrenceNoOpptyBackrefInput
- # Revenue schedule splitting the opportunity value across periods, or empty when
- # revenue scheduling is not enabled for this opportunity.
- : CreateOpptyRevenueScheduleNoIdBackrefInput
- # Product line items on this opportunity. Each entry holds the product, quantity,
- # price and discount that contribute to the opportunity value when
- # is_value_auto_calculate is true.
- : [CreateOpptyProductRelationNoBackrefInput!]
- # 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!]
- : DateTime
- : DateTime
- # Sales units that have been granted shared access to this opportunity. Editable
- # only when share_mode allows unit sharing.
- : [CreateLeadOpptySharingSalesUnitRelationNoLeadOpptyBackrefInput!]
- # Users that have been granted shared access to this opportunity. Editable only
- # when share_mode allows user sharing.
- : [CreateLeadOpptySharingClientRelationNoLeadOpptyBackrefInput!]
- # Tag labels applied to this opportunity.
- : [CreateTagRelationNoOpptyBackrefInput!]
- # Saved view profiles this opportunity currently matches.
- : [CreateProfileRelationNoLeadOpptyBackrefInput!]
- }