New: Kith open-sources its ATS.Read why
Skip to Content
Inputs

UpdateOpportunityInput

What to change on an opportunity. A field left out is unchanged; null clears it, except a field that cannot be empty. The stage and the company are not changed here.

input UpdateOpportunityInput {
  agreementSignedOn: Date
  agreementStatus: AgreementStatus
  agreementUrl: String
  currency: String
  exclusiveUntil: Date
  exclusivity: OpportunityExclusivity
  feeBasis: FeeBasis
  feePercent: Decimal
  guaranteeDays: Int
  lostReason: String
  name: String
  nextStep: String
  nextStepDate: Date
  opportunityId: ID!
  ownerId: ID
  referredByPersonId: ID
  source: OpportunitySource
  summary: String
}

Fields

UpdateOpportunityInput.agreementSignedOn · Date scalar

The day the agreement was signed.

UpdateOpportunityInput.agreementStatus · AgreementStatus enum

Where the written agreement stands. It cannot be cleared.

UpdateOpportunityInput.agreementUrl · String scalar

A link to the agreement, as an http or https address.

UpdateOpportunityInput.currency · String scalar

The currency of its money, as a three-letter ISO 4217 code in upper case. It cannot be cleared.

UpdateOpportunityInput.exclusiveUntil · Date scalar

The last day of exclusivity.

UpdateOpportunityInput.exclusivity · OpportunityExclusivity enum

Whether the roles are worked alone. It cannot be cleared.

UpdateOpportunityInput.feeBasis · FeeBasis enum

What the fee is a percentage of. Changing it reprices the jobs under it.

UpdateOpportunityInput.feePercent · Decimal scalar

The fee percentage, from 0 to 100. Changing it reprices the jobs under it.

UpdateOpportunityInput.guaranteeDays · Int scalar

The guarantee in days, 0 or more. Placements already made keep theirs.

UpdateOpportunityInput.lostReason · String scalar

Why it was lost. Cannot be cleared while the stage is LOST.

UpdateOpportunityInput.name · String scalar

What it is called. It cannot be cleared.

UpdateOpportunityInput.nextStep · String scalar

What happens next.

UpdateOpportunityInput.nextStepDate · Date scalar

The day the next step is due.

UpdateOpportunityInput.opportunityId · ID! non-null scalar

The opportunity's id.

UpdateOpportunityInput.ownerId · ID scalar

The member who owns it. Must be a member of this workspace.

UpdateOpportunityInput.referredByPersonId · ID scalar

The person who referred it.

UpdateOpportunityInput.source · OpportunitySource enum

How it came about.

UpdateOpportunityInput.summary · String scalar

A running account of where it stands.

Member Of

updateOpportunity mutation