billingDetailsUpdate
Update the billing details for an account. The billingDetailsUpdate 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 BillingDetailsAttributes type
mutation billingDetailsUpdate ($id: ID, $attributes: BillingDetailsAttributes!) {
billingDetailsUpdate (id: $id, attributes: $attributes) {
billingDetails {
billingCity
billingCountry
billingState
billingStreet
billingZip
name
taxNumber
}
errors
}
}
ArgumentsLink to Arguments section
{
"id": "456123",
"attributes": {
"billingStreet": "",
"billingCity": "",
"billingState": "",
"billingZip": "",
"billingCountry": "",
"billingContactEmail": "",
"taxNumber": ""
}
}
| Name | Type | Description |
|---|---|---|
| id | ID | |
| attributes | BillingDetailsAttributes |
ResponseLink to Response section
| Name | Type | Description |
|---|---|---|
| billingDetails | BillingDetails | |
| errors | List (String) |