INPUT_OBJECT

UpdateTargetInput

Id of a Target record and the field values to change.

link GraphQL Schema definition

  • input UpdateTargetInput {
  • # Name of the target.
  • name: String!
  • # Free-text description shown alongside the target.
  • description: String
  • # Users the target is set on: the assignee of a User target, or the members of a
  • # GroupFromUser target, each of whom gets a user target of their own.
  • targetClientIds: [UUID]
  • # User targets a GroupFromExisting target combines.
  • existingTargetsIds: [UUID]
  • # Sales pipeline (revenue targets) or lead process (lead targets) whose records
  • # count toward the target.
  • pipelineLeadProcessId: UUID
  • # Currency the target value is expressed in.
  • currencyId: UUID!
  • # Field conditions selecting which records count toward the target. Required for
  • # User and GroupFromUser targets unless fromSimulatedTargetId is set. The main box
  • # entity must be LeadOppty for Revenue and LeadQualified targets, and Lead (or
  • # LeadOppty) for LeadCreated targets; any other entity is rejected with
  • # ERROR_PARAMETER_INVALID.
  • filter: FieldFilterParams
  • # Period the target applies to: a calendar or financial year, or one quarter or
  • # month of it.
  • period: TargetsPeriodParams!
  • # User who owns a new target; defaults to the calling user. Not changed by
  • # updateTarget.
  • ownerId: UUID
  • # Id of the target to update.
  • id: UUID!
  • }

link Require by