dealStageCreate
Create a deal stage. The dealStageCreate 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 dealStageCreate ($attributes: DealStageAttributes!) {
dealStageCreate (attributes: $attributes) {
dealStage {
createdAt
description
id
name
position
probability
updatedAt
}
errors
}
}
ArgumentsLink to Arguments section
{
"attributes": {
"name": "",
"description": "",
"position": 123,
"probability": 123,
"kind": "DealStageKind"
}
}
| Name | Type | Description |
|---|---|---|
| attributes | DealStageAttributes |
ResponseLink to Response section
| Name | Type | Description |
|---|---|---|
| dealStage | DealStage | |
| errors | List (String) |