def update_store_profile_by_id(cls, store_profile_id, store_profile, **kwargs):
        """Update StoreProfile

        Update attributes of StoreProfile
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async=True
        >>> thread = api.update_store_profile_by_id(store_profile_id, store_profile, async=True)
        >>> result = thread.get()

        :param async bool
        :param str store_profile_id: ID of storeProfile to update. (required)
        :param StoreProfile store_profile: Attributes of storeProfile to update. (required)
        :return: StoreProfile
                 If the method is called asynchronously,
                 returns the request thread.
        """
        kwargs['_return_http_data_only'] = True
        if kwargs.get('async'):
            return cls._update_store_profile_by_id_with_http_info(store_profile_id, store_profile, **kwargs)
        else:
            (data) = cls._update_store_profile_by_id_with_http_info(store_profile_id, store_profile, **kwargs)
            return data