Request Parameters:


This method allows to  list product picture:


URL  for nopCommerce 4.10 :  [ For testing use index.html inside sample folder ]

Api/Admin/InsertProductPicture


Headers :

Content-Type : application/json


Parameter:


You can use fileupload controller and You must use below code get file name.


fileData = document.getElementById("fileUpload").files[0];

fileName= fileData.name


You must Insert Product Picture using Ajax Call Pass all parameter in URL like

fileName,apiSecretKey, storeid, vendorid, displayorder,overridealtattribute,overridetitleattribute and productid.


Example URL:         

http://www.example.com/Plugins/XcellenceIt.Plugin.Misc.NopRestApiAdmin/RemoteService/WebService.svc/InsertProductPicture?fileName='+ fileData.name+'&apiSecretKey='+ apiSecretKey+'&productid='+productid


 Response :