def update_customer_by_id(cls, customer_id, customer, **kwargs):
        """Update Customer

        Update attributes of Customer
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async=True
        >>> thread = api.update_customer_by_id(customer_id, customer, async=True)
        >>> result = thread.get()

        :param async bool
        :param str customer_id: ID of customer to update. (required)
        :param Customer customer: Attributes of customer to update. (required)
        :return: Customer
                 If the method is called asynchronously,
                 returns the request thread.
        """
        kwargs['_return_http_data_only'] = True
        if kwargs.get('async'):
            return cls._update_customer_by_id_with_http_info(customer_id, customer, **kwargs)
        else:
            (data) = cls._update_customer_by_id_with_http_info(customer_id, customer, **kwargs)
            return data
Update Customer

        Update attributes of Customer
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async=True
        >>> thread = api.update_customer_by_id(customer_id, customer, async=True)
        >>> result = thread.get()

        :param async bool
        :param str customer_id: ID of customer to update. (required)
        :param Customer customer: Attributes of customer to update. (required)
        :return: Customer
                 If the method is called asynchronously,
                 returns the request thread.