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('theCustomerId', 'theAddressId', array(
  'firstName'         => 'Jenna',
  'lastName'          => 'Smith',
  'company'           => 'Braintree',
  'streetAddress'     => '1 E Main St',
  'extendedAddress'   => 'Suite 403',
  'locality'          => 'Chicago',
  'region'            => 'Illinois',
  'postalCode'        => '60622',
  'countryCodeAlpha2' => 'US'
));