githubEdit

dealUpdate

Graphql fields and variables for the dealUpdate mutation

Update a deal

Scope required: standard:write

For a complete list of input attributes see the DealAttributes type

mutation dealUpdate ($id: ID!, $attributes: DealAttributes!) {
  dealUpdate (id: $id, attributes: $attributes) {
      deal {
        accountId
        amount
        closeDate
        code
        contactId
        createdAt
        currencyId
        dealStageId
        description
        entityId
        id
        leadSourceId
        name
        notForRevenue
        ownerUserId
        probability
        stageDescription
        updatedAt
        viaPortal
      }
      errors
  }
}

Arguments

Name
Type
Description

id

ID

attributes

Response

Name
Type
Description

deal

errors

List (String)

Last updated

Was this helpful?