Request Parameters:


This method allows to insert product attribute mapping


URL  for nopCommerce 4.10 :

Api/Admin/InsertProductAttributeMapping


Headers :

Content-Type : application/json


Parameter: Required [ProductId, ProductAttributeId]


{
       "ApiSecretKey" :"k104r106p102g98k116q107x114x118" ,
       "RestAPIAdminAccessKey" :"4fbdf629-be68-4371-a81d-4b191c98a52e",
       "VendorId": "0",
     "ProductId": "1",
     "ProductAttributeId": "1",
     "TextPrompt": "Color_Attribute",
     "IsRequired": "true",
     "AttributeControlTypeId": "40",
     "DisplayOrder": "5"
}


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 inserted successfully for id : 15"
}