code: def addresses(self, quote_id, address_data, store_view=None):
          
          return bool(
              self.call('cart_customer.addresses',
                  [quote_id, address_data, store_view])
          )
docs: Add customer information into a shopping cart
  
          :param quote_id: Shopping cart ID (quote ID)
          :param address_data, list of dicts of address details, example
              [
                  {
                      'mode': 'billing',
                      'address_id': 'customer_address_id'
                  },
                  {
                      'mode': 'shipping',
                      'firstname': 'testFirstname',
                      'lastname': 'testLastname',
                      'company': 'testCompany',
                      'street': 'testStreet',
                      'city': 'testCity',
                      'region': 'testRegion',
                      'region_id': 'testRegionId',
                      'postcode': 'testPostcode',
                      'country_id': 'id',
                      'telephone': '0123456789',
                      'fax': '0123456789',
                      'is_default_shipping': 0,
                      'is_default_billing': 0
                  },
              ]
          :param store_view: Store view ID or code
          :return: boolean, True if the address is set