accountDataReset

Delete all billing data of an account, keeping the account (sandbox only). The accountDataReset mutation in Bunny's GraphQL API, with its input attributes, return type and an example request.

Scope required: standard:write

mutation accountDataReset ($id: ID!) {
  accountDataReset (id: $id) {
      account {
        accountTypeId
        addressValidated
        annualRevenue
        arr
        billingCity
        billingContactId
        billingCountry
        billingDay
        billingState
        billingStreet
        billingZip
        code
        consolidatedBilling
        createdAt
        currencyId
        currencyLocked
        customFieldsData
        description
        disableDunning
        displayName
        draftInvoices
        duns
        effectiveBillingDate
        emailsEnabled
        employees
        entityId
        entityUseCode
        fastForwarded
        fastForwarding
        fax
        forwardTo
        forwardedTo
        groupId
        hasChildAccounts
        hasCustomFields
        hasInvoicedCharges
        id
        inHierarchy
        industryId
        integrationManaged
        invoiceTemplateId
        invoicedAccountId
        linkedinUrl
        mrr
        mur
        name
        netPaymentDays
        newQuoteBuilder
        nextRenewal
        ownerUserId
        parentAccountId
        payingAccountId
        phone
        revenueToDate
        sandbox
        shippingCity
        shippingCountry
        shippingState
        shippingStreet
        shippingZip
        taxNumber
        taxNumberValidated
        timezone
        updatedAt
        website
      }
      errors
  }
}

ArgumentsLink to Arguments section

{
  "id": "456123"
}
Name Type Description
id ID  

ResponseLink to Response section

Name Type Description
account Account  
errors List (String)