# UpdateOpportunityInput (/api/reference/inputs/update-opportunity-input)

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.

```graphql
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 [#fields]

#### [`UpdateOpportunityInput.agreementSignedOn`](#agreement-signed-on) · [`Date`](/api/reference/scalars/date) `scalar` [#agreement-signed-on]
The day the agreement was signed.

#### [`UpdateOpportunityInput.agreementStatus`](#agreement-status) · [`AgreementStatus`](/api/reference/enums/agreement-status) `enum` [#agreement-status]
Where the written agreement stands. It cannot be cleared.

#### [`UpdateOpportunityInput.agreementUrl`](#agreement-url) · [`String`](/api/reference/scalars/string) `scalar` [#agreement-url]
A link to the agreement, as an http or https address.

#### [`UpdateOpportunityInput.currency`](#currency) · [`String`](/api/reference/scalars/string) `scalar` [#currency]
The currency of its money, as a three-letter ISO 4217 code in upper case. It cannot be cleared.

#### [`UpdateOpportunityInput.exclusiveUntil`](#exclusive-until) · [`Date`](/api/reference/scalars/date) `scalar` [#exclusive-until]
The last day of exclusivity.

#### [`UpdateOpportunityInput.exclusivity`](#exclusivity) · [`OpportunityExclusivity`](/api/reference/enums/opportunity-exclusivity) `enum` [#exclusivity]
Whether the roles are worked alone. It cannot be cleared.

#### [`UpdateOpportunityInput.feeBasis`](#fee-basis) · [`FeeBasis`](/api/reference/enums/fee-basis) `enum` [#fee-basis]
What the fee is a percentage of. Changing it reprices the jobs under it.

#### [`UpdateOpportunityInput.feePercent`](#fee-percent) · [`Decimal`](/api/reference/scalars/decimal) `scalar` [#fee-percent]
The fee percentage, from 0 to 100. Changing it reprices the jobs under it.

#### [`UpdateOpportunityInput.guaranteeDays`](#guarantee-days) · [`Int`](/api/reference/scalars/int) `scalar` [#guarantee-days]
The guarantee in days, 0 or more. Placements already made keep theirs.

#### [`UpdateOpportunityInput.lostReason`](#lost-reason) · [`String`](/api/reference/scalars/string) `scalar` [#lost-reason]
Why it was lost. Cannot be cleared while the stage is `LOST`.

#### [`UpdateOpportunityInput.name`](#name) · [`String`](/api/reference/scalars/string) `scalar` [#name]
What it is called. It cannot be cleared.

#### [`UpdateOpportunityInput.nextStep`](#next-step) · [`String`](/api/reference/scalars/string) `scalar` [#next-step]
What happens next.

#### [`UpdateOpportunityInput.nextStepDate`](#next-step-date) · [`Date`](/api/reference/scalars/date) `scalar` [#next-step-date]
The day the next step is due.

#### [`UpdateOpportunityInput.opportunityId`](#opportunity-id) · [`ID!`](/api/reference/scalars/id) `non-null` `scalar` [#opportunity-id]
The opportunity's id.

#### [`UpdateOpportunityInput.ownerId`](#owner-id) · [`ID`](/api/reference/scalars/id) `scalar` [#owner-id]
The member who owns it. Must be a member of this workspace.

#### [`UpdateOpportunityInput.referredByPersonId`](#referred-by-person-id) · [`ID`](/api/reference/scalars/id) `scalar` [#referred-by-person-id]
The person who referred it.

#### [`UpdateOpportunityInput.source`](#source) · [`OpportunitySource`](/api/reference/enums/opportunity-source) `enum` [#source]
How it came about.

#### [`UpdateOpportunityInput.summary`](#summary) · [`String`](/api/reference/scalars/string) `scalar` [#summary]
A running account of where it stands.

### Member Of [#member-of]

[`updateOpportunity`](/api/reference/mutations/update-opportunity)  `mutation`