private async Task <HttpResponseMessage> UpdateEcommerceProduct(Module module) { var product = new EcommerceItem { product = new ProductItem { id = module.EcommerceId, title = module.Title } }; return(await Woocommerce.UpdateProduct( product, _configuration )); }
private async Task <HttpResponseMessage> UpdateEcommerceProduct(Track track, long ecommerceId) { var product = new EcommerceItem { product = new ProductItem { id = ecommerceId, title = track.Title } }; return(await Woocommerce.UpdateProduct( product, _configuration )); }