Update billing details

updateBillingDetails(input: UpdateBillingDetailsInput!): BillingDetails!

Requires account.billing.manage.

Arguments

ArgumentTypeRequired
inputUpdateBillingDetailsInput!Yes

Input fields

input

UpdateBillingDetailsInput

FieldTypeRequired
nameStringNo
emailStringNo
phoneStringNo
addressBillingAddressInputNo

Response

Returns BillingDetails!. Open the type for its fields and nested types.

FieldTypeDescription
nameString
emailString
phoneString
addressBillingAddress
taxIds[BillingTaxId!]!
customerAvailableBoolean!Whether this account has an existing billing customer

Types marked with ! cannot be null. Lists use [Type] notation. The type index lists all published input and response types.

Example

graphql
mutation UpdateBillingDetails($input: UpdateBillingDetailsInput!) {
  updateBillingDetails(input: $input) {
    name
    customerAvailable
    email
    phone
  }
}
json
{
  "input": {}
}