def update_store_credit_by_id(cls, store_credit_id, store_credit, **kwargs):
        """Update StoreCredit

        Update attributes of StoreCredit
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async=True
        >>> thread = api.update_store_credit_by_id(store_credit_id, store_credit, async=True)
        >>> result = thread.get()

        :param async bool
        :param str store_credit_id: ID of storeCredit to update. (required)
        :param StoreCredit store_credit: Attributes of storeCredit to update. (required)
        :return: StoreCredit
                 If the method is called asynchronously,
                 returns the request thread.
        """
        kwargs['_return_http_data_only'] = True
        if kwargs.get('async'):
            return cls._update_store_credit_by_id_with_http_info(store_credit_id, store_credit, **kwargs)
        else:
            (data) = cls._update_store_credit_by_id_with_http_info(store_credit_id, store_credit, **kwargs)
            return data