/// <summary>
 /// Update a product attribute
 /// </summary>
 /// <param name="productAttributeId">The identifier of product attribute</param>
 /// <param name="newData">The new data to be updated</param>
 /// <returns>New product attribute object</returns>
 public async Task<ProductAttribute> Update(int productAttributeId, ProductAttribute newData)
 {
     var endPoint = String.Format("{0}/{1}", BaseApiEndpoint, productAttributeId);
     var bundle = new ProductAttributeBundle { Content = newData };
     return (await Put(endPoint, toSerialize: bundle)).Content;
 }
 // Update a Product Attribute
 public ProductAttribute Update(int productAttributeId, ProductAttribute newData)
 {
     return Put(apiEndpoint: String.Format("{0}/{1}", BaseApiEndpoint, productAttributeId), toSerialize: new ProductAttributeBundle { Content = newData }).Content;
 }
 /// <summary>
 /// Create a Product Attribute 
 /// </summary>
 /// <param name="productAttributeData">Product attribute to be created</param>
 /// <returns>Newly created product attribute object</returns>
 public async Task<ProductAttribute> Create(ProductAttribute productAttributeData)
 {
     var bundle = new ProductAttributeBundle { Content = productAttributeData };
     return (await Post(apiEndpoint: BaseApiEndpoint, toSerialize: bundle)).Content;
 }
 // Create a Product Attribute
 public ProductAttribute Create(ProductAttribute productAttributeData)
 {
     return Post(apiEndpoint: BaseApiEndpoint, toSerialize: new ProductAttributeBundle { Content = productAttributeData }).Content;
 }