disputeReasonCreate
Create a dispute reason. The disputeReasonCreate 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 disputeReasonCreate ($attributes: DisputeReasonAttributes!) {
disputeReasonCreate (attributes: $attributes) {
disputeReason {
description
id
name
}
errors
}
}
ArgumentsLink to Arguments section
{
"attributes": {
"name": "",
"description": ""
}
}
| Name | Type | Description |
|---|---|---|
| attributes | DisputeReasonAttributes |
ResponseLink to Response section
| Name | Type | Description |
|---|---|---|
| disputeReason | DisputeReason | |
| errors | List (String) |