def update_free_shipping_promotion_by_id(cls, free_shipping_promotion_id, free_shipping_promotion, **kwargs):
        """Update FreeShippingPromotion

        Update attributes of FreeShippingPromotion
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async=True
        >>> thread = api.update_free_shipping_promotion_by_id(free_shipping_promotion_id, free_shipping_promotion, async=True)
        >>> result = thread.get()

        :param async bool
        :param str free_shipping_promotion_id: ID of freeShippingPromotion to update. (required)
        :param FreeShippingPromotion free_shipping_promotion: Attributes of freeShippingPromotion to update. (required)
        :return: FreeShippingPromotion
                 If the method is called asynchronously,
                 returns the request thread.
        """
        kwargs['_return_http_data_only'] = True
        if kwargs.get('async'):
            return cls._update_free_shipping_promotion_by_id_with_http_info(free_shipping_promotion_id, free_shipping_promotion, **kwargs)
        else:
            (data) = cls._update_free_shipping_promotion_by_id_with_http_info(free_shipping_promotion_id, free_shipping_promotion, **kwargs)
            return data
def update_free_shipping_promotion_by_id ( cls , free_shipping_promotion_id , free_shipping_promotion , ** kwargs ) : kwargs [ '_return_http_data_only' ] = True if kwargs . get ( 'async' ) : return cls . _update_free_shipping_promotion_by_id_with_http_info ( free_shipping_promotion_id , free_shipping_promotion , ** kwargs ) else : ( data ) = cls . _update_free_shipping_promotion_by_id_with_http_info ( free_shipping_promotion_id , free_shipping_promotion , ** kwargs ) return data
Update FreeShippingPromotion

        Update attributes of FreeShippingPromotion
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async=True
        >>> thread = api.update_free_shipping_promotion_by_id(free_shipping_promotion_id, free_shipping_promotion, async=True)
        >>> result = thread.get()

        :param async bool
        :param str free_shipping_promotion_id: ID of freeShippingPromotion to update. (required)
        :param FreeShippingPromotion free_shipping_promotion: Attributes of freeShippingPromotion to update. (required)
        :return: FreeShippingPromotion
                 If the method is called asynchronously,
                 returns the request thread.