Request Parameters:


This method allows to void order(Cancel) order:


URL  for nopCommerce 4.10 :

Api/Admin/VoidOrder


Headers :

Content-Type : application/json


Parameter : Required [OrderId]
{
        "ApiSecretKey" :"k104r106p102g98k116q107x114x118" ,
        "RestAPIAdminAccessKey" :"4fbdf629-be68-4371-a81d-4b191c98a52e",
        "OrderId": "8",
        "VendorId": "0"
}

Response Parameters:


  {
       "Message" : "Order payment status set void successfully for order id : 8"
 }