Update billing information

Arguments

  • inputBillingInput!
    • nameString!
      Full name or business name.
    • taxIdValueString
      Value of the tax ID.
    • addressAddress!
      • line1String
        Street address/PO Box.
      • line2String
        Apartment/Suite/Unit/Building.
      • postalCodeString
        ZIP or postal code.
      • cityString
        City.

Result

The cutomer object.
type Query {
    updateBillingInformation(input: BillingInput!): Customer!
}

input BillingInput {
    name: String!
    address: AddressInput!
    taxIdValue: String
}

input AddressInput {
    line1: String!
    line2: String
    postalCode: String!
    city: String!
}

EXAMPLE

mutation ($input: BillingInput!) {
    updateBillingInformation(input: $input) {
        name
        taxIdType
        trialImages
        address {country}
        currency
    }
}

VARIABLES

{
  "input": {
    "name": "Virtucon Industries"
  }
}

RESULT

{
  "data": {
    "updateBillingInformation": {
      "name": "Virtucon Industries",
      "taxIdType": "eu_vat",
      "trialImages": 3,
      "address": {"country": "BE"},
      "currency": "EUR"
    }
  }
}