Request Parameters:


This method allows  to update product attribute mapping:


URL  for nopCommerce 4.10 :

Api/Admin/UpdateProductAttributeMapping


Headers :

Content-Type : application/json


Parameter: Required [ ProductAttributeId, ProductAttributeMappingId]
{
       "ApiSecretKey" :"k104r106p102g98k116q107x114x118" ,
       "RestAPIAdminAccessKey" :"4fbdf629-be68-4371-a81d-4b191c98a52e",
       "VendorId": "0",  
     "ProductAttributeMappingId":"19",
       "ProductAttributeId":"8",
       "TextPrompt":"RAM",
       "IsRequired":"true",
       "AttributeControlTypeId":"2",
       "DisplayOrder":"0"
}

Note: [Attribute Control Type Id : DropdownList = 1, RadioList = 2, Checkboxes = 3, TextBox = 4,  MultilineTextbox = 10, Datepicker = 20, FileUpload = 30, ColorSquares = 40, ReadonlyCheckboxes = 50]


Response :
{
   "Message": "Product attribute mappings updated successfully"
}