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
}
}
{
"id": "456123",
"attributes": {
"accountId": "456123",
"name": "",
"code": "",
"ownerUserId": "456123",
"amount": "1.00",
"probability": 123,
"description": "",
"closeDate": "2022-06-01",
"dealStageId": "456123",
"leadSourceId": "456123",
"contactId": "456123",
"kind": "DealKind",
"notForRevenue": true,
"viaPortal": true,
"currencyId": "456123",
"origin": "DealOrigin"
}
}