# updateOpportunity (/api/reference/mutations/update-opportunity)

Change an opportunity's terms, owner, agreement, next step or summary. A field left out is unchanged, and null clears it. To change its stage, use `moveOpportunityStage`. New fee terms reprice the jobs under it. The same input twice leaves the same opportunity.

```graphql
updateOpportunity(
  input: UpdateOpportunityInput!
): UpdateOpportunityPayload!
```

### Arguments [#arguments]

#### [`updateOpportunity.input`](#input) · [`UpdateOpportunityInput!`](/api/reference/inputs/update-opportunity-input) `non-null` `input` [#input]
The opportunity and what to change on it.

### Type [#type]

#### [`UpdateOpportunityPayload`](/api/reference/objects/update-opportunity-payload) `object` [#updateopportunitypayload-object]
The opportunity that was changed.