disputeReasonUpdate
Update a dispute reason. The disputeReasonUpdate mutation in Bunny's GraphQL API, with its input attributes, return type and an example request.
Scope required: billing:write
For a complete list of input attributes see the DisputeReasonAttributes type
mutation disputeReasonUpdate ($id: ID!, $attributes: DisputeReasonAttributes!) {
disputeReasonUpdate (id: $id, attributes: $attributes) {
disputeReason {
description
id
name
}
errors
}
}
ArgumentsLink to Arguments section
{
"id": "456123",
"attributes": {
"name": "",
"description": ""
}
}
| Name | Type | Description |
|---|---|---|
| id | ID | |
| attributes | DisputeReasonAttributes |
ResponseLink to Response section
| Name | Type | Description |
|---|---|---|
| disputeReason | DisputeReason | |
| errors | List (String) |