Update Customer Billing Info

chargebee.update_billing_info
ActionCRM & salesconnection required

Calls the Chargebee API with the connection's credentials.

Replace the customer's billing address or VAT number.

Connection

Required
Yes — the node will not save without one
Auth type
API key
Providers
Chargebee
Secret shape
the site API key: the raw string, {"api_key": "…"}, or the HTTP Basic pair {"username": "<api key>", "password": ""}
Config it needs
site, base_url
Resolved by
config.connection_id, else node.connection_id

Configuration

4 fields, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
customer_id
The Chargebee customer id.
stringYes———
billing_address
The full billing address as a JSON object. Chargebee replaces the stored address with what is sent, so include every line you want to keep.
objectNo—≥ 1 characters{"city":"Walnut","country":"US","line1":"340 S Lemon Ave","state":"California","zip":"91789"}
vat_number
The customer's VAT registration number.
stringNo—≤ 20 characters—
extra
Any other parameter documented for this endpoint, merged into the request body. Nested objects and arrays are form-encoded the way Chargebee documents them, e.g. {"billing_address": {"city": "Walnut"}}.
objectNo——{"billing_address":{"city":"Walnut"}}
  • At least one of billing_address, vat_number, extra must be set.

Example configuration

Every value below is the contract’s own example or default — nothing invented.

{
  "billing_address": {
    "city": "Walnut",
    "country": "US",
    "line1": "340 S Lemon Ave",
    "state": "California",
    "zip": "91789"
  },
  "extra": {
    "billing_address": {
      "city": "Walnut"
    }
  }
}

Output

One shape.

result

FieldTypeExample
customer
The customer resource exactly as Chargebee returned it.
object—
card
The customer's card, present only when one is on file.
object—
{
  "card": {},
  "customer": {}
}

Notes

  • The Chargebee site and API key come from the connection; every path below is relative to https://<site>.chargebee.com/api/v2.
  • POST /customers/{customer-id}/update_billing_info

See Update Customer Billing Info run in a workflow.

In a technical demo we add the Chargebee connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.