def post_customer_preferences(self, **kwargs):  # noqa: E501
        """Update selected fields of customer preferences  # noqa: E501

          # noqa: E501
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.post_customer_preferences(async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param CustomerPreferencesUpdating body:
        :return: CustomerPreferences
                 If the method is called asynchronously,
                 returns the request thread.
        """
        kwargs['_return_http_data_only'] = True
        if kwargs.get('async_req'):
            return self.post_customer_preferences_with_http_info(**kwargs)  # noqa: E501
        else:
            (data) = self.post_customer_preferences_with_http_info(**kwargs)  # noqa: E501
            return data
def post_customer_preferences ( self , ** kwargs ) : kwargs [ '_return_http_data_only' ] = True if kwargs . get ( 'async_req' ) : return self . post_customer_preferences_with_http_info ( ** kwargs ) else : ( data ) = self . post_customer_preferences_with_http_info ( ** kwargs ) return data
Update selected fields of customer preferences  # noqa: E501

          # noqa: E501
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.post_customer_preferences(async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param CustomerPreferencesUpdating body:
        :return: CustomerPreferences
                 If the method is called asynchronously,
                 returns the request thread.