dealStageUpdate
Update a deal stage. The dealStageUpdate mutation in Bunny's GraphQL API, with its input attributes, return type and an example request.
Scope required: admin:write
For a complete list of input attributes see the DealStageAttributes type
mutation dealStageUpdate ($id: ID!, $attributes: DealStageAttributes!) {
dealStageUpdate (id: $id, attributes: $attributes) {
dealStage {
createdAt
description
id
name
position
probability
updatedAt
}
errors
}
}
ArgumentsLink to Arguments section
{
"id": "456123",
"attributes": {
"name": "",
"description": "",
"position": 123,
"probability": 123,
"kind": "DealStageKind"
}
}
| Name | Type | Description |
|---|---|---|
| id | ID | |
| attributes | DealStageAttributes |
ResponseLink to Response section
| Name | Type | Description |
|---|---|---|
| dealStage | DealStage | |
| errors | List (String) |