using (var svc = new LoyaltyService.LoyaltyProductClient())
{
  var request = new LoyaltyService.ManagementGroupRequestOfProduct();
  request.Token = "Token";
  request.ManagementGroup = "Management group";
  var product = new LoyaltyService.Product();
  product.RSN = new Guid("cb07cc5d-802d-4eab-aa89-4356bddf4910");;
  product.DisplayValue = "Reg bag"; 
  product.Active = true;
  product.ActiveFrom = DateTime.Now;
  product.ActiveTo = DateTime.Now.AddDays(7); 
  product.NonFinancialMaxPoints_PerCalendarYear = 0;
  product.NonFinancialMaxPoints_PerDay = 0; 
  product.NonFinancialMaxPoints_PerJoinedYear = 0; 
  product.NonFinancialMaxPoints_PerMonth = 0; 
  product.NonFinancialMaxPoints_PerWeek = 0; 
  product.ProductBrand = "Bag Makers"; 
  product.ProductCode = "RB_001"; 
  product.ProductDescription = "Luxury red bag"; 
  product.ProductName = "Red bag";
  product.ProductType = "NONFINANICAL";
  var document = new LoyaltyService.Document();
  document.RSN = Guid.NewGuid(); 
  document.DisplayValue = "Size guide"; 
  document.Entity_RSN = new Guid("184df635-818c-49f0-a21e-0e97aa3de828");; 
  document.BinaryData_RSN = new Guid("f2b4d62d-9b19-43be-a8ae-148980a7dfdf");; 
  document.CreatedBy_RSN = new Guid("9720adaf-06e9-4cdc-b52c-7b28221155c2");; 
  product.Documents = new LoyaltyService.Document[] { document }; 
  var image = new LoyaltyService.GalleryImage();
  image.DisplayValue = "red_bag.jpg";
  image.Entity_RSN = new Guid("939bdc04-422f-4fab-b92f-d2d2f4feaa0b");;
  image.PrimaryImage_RSN = new Guid("c70999a8-b09d-49ff-ba0a-b37a0bd135a1");;
  image.SourceImage_RSN = new Guid("3b88eabc-8fba-4a57-897a-cd2aaac156e0");;
  image.ThumbnailImage_RSN = new Guid("d61419b0-66ab-460f-9533-7994dc95cdf3");;
  image.FeaturedImage = false; 
  image.DisplayOrder = 1;
  product.GalleryImages = new LoyaltyService.GalleryImage[] { image }; 
  var category = new LoyaltyService.ProductCategory();
  category.RSN = new Guid("bbe9975c-cc28-481b-af50-82c47d199a47");; 
  product.ProductCategories = new LoyaltyService.ProductCategory[] { category }; 
  var department = new LoyaltyService.ProductDepartment();
  department.RSN = new Guid("8e7c2ae1-93cd-4a21-b00a-65fb68ca18c5");; 
  product.ProductDepartments = new LoyaltyService.ProductDepartment[] { department }; 
  request.Value = product;
  LoyaltyService.Result result = svc.UpdateProduct(request);
  if (result.FaultCode == 0)
  {
    
  }
  else
  {
    
    throw new Exception(result.FaultDescription);
  }
}