/// <summary>
 /// Updated a Product
 /// </summary>
 /// <param name="productId"></param>
 /// <param name="newData"></param>
 /// <returns></returns>
 public async Task<Product> Update(int productId, Product newData)
 {
     var endPoint = String.Format("products/{0}", productId);
     var bundle = new ProductBundle { Content = newData };
     return (await Put(endPoint, toSerialize: bundle)).Content;
 }
 // Update a Product
 public Product Update(int productId, Product newData)
 {
     return Put(apiEndpoint: String.Format("products/{0}", productId), toSerialize: new ProductBundle { Content = newData }).Content;
 }
 /// <summary>
 /// Create a product
 /// </summary>
 /// <param name="productData">Product object to be created</param>
 /// <returns>Created product object</returns>
 public async Task<Product> Create(Product productData)
 {
     var bundle = new ProductBundle { Content = productData };
     return (await Post(apiEndpoint: "products", toSerialize: bundle)).Content;
 }
 // Create a Product
 public Product Create(Product productData)
 {
     return Post(apiEndpoint: "products", toSerialize: new ProductBundle { Content = productData }).Content;
 }