Updating Addresses

This page describes updating an address by itself, you can also update an address while updating a customer, or update an address while updating a credit card.

Braintree::Address.update("the_customer_id", "the_address_id",
  :first_name          => 'Jenna',
  :last_name           => 'Smith',
  :company             => 'Braintree',
  :street_address      => '1 E Main St',
  :extended_address    => 'Suite 403',
  :locality            => 'Chicago',
  :region              => 'Illinois',
  :postal_code         => '60622',
  :country_code_alpha2 => 'US'
)