updateBillingDetails

Change the name, email, phone or address on the invoices of an account, where an omitted field keeps its value and null clears it; returns the updated billing details. Requires account.billing.manage.

Arguments

  • inputUpdateBillingDetailsInput!required

  • input.nameString

  • input.emailString

  • input.phoneString

  • input.addressBillingAddressInput

Responses

mutation UpdateBillingDetails($input: UpdateBillingDetailsInput!) {  updateBillingDetails(input: $input) {    name    email    phone    address {      line1      line2      city      state      postalCode      country    }    taxIds {      id      type      value    }    customerAvailable  }}
{  "data": {    "updateBillingDetails": {      "name": "string",      "email": "[email protected]",      "phone": "string",      "address": {        "line1": "string",        "line2": "string",        "city": "string",        "state": "string",        "postalCode": "string",        "country": "string"      },      "taxIds": [        {          "id": "string",          "type": "string",          "value": "string"        }      ],      "customerAvailable": false    }  }}

The BillingDetails! in data.updateBillingDetails.