revenueMovementUpdate

Update a manual revenue movement. The revenueMovementUpdate 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 RevenueMovementAttributes type

mutation revenueMovementUpdate ($id: ID!, $attributes: RevenueMovementAttributes!) {
  revenueMovementUpdate (id: $id, attributes: $attributes) {
      errors
      revenueMovement {
        accountId
        currencyId
        date
        id
        manual
        movementType
        recurringAmount
        totalAmount
        usageAmount
        usageMovementType
      }
  }
}

ArgumentsLink to Arguments section

{
  "id": "456123",
  "attributes": {
    "accountId": "456123",
    "date": "2022-06-01",
    "recurringAmount": "1.00",
    "movementType": "",
    "usageAmount": "1.00",
    "usageMovementType": ""
  }
}
Name Type Description
id ID  
attributes RevenueMovementAttributes  

ResponseLink to Response section

Name Type Description
errors List (String)  
revenueMovement RevenueMovement