Request Parameters:


This method allows delete order note:


URL  for nopCommerce 4.10 :

Api/Admin/DeleteOrderNote


Headers :

Content-Type : application/json


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

Response


[Note: In response this method will display all the notes(except delete) of order is that is passed in request parameter ]


[
   {
       "OrderNoteMessage": null,
       "OrderNoteId": 2053,
       "OrderId": 1010,
       "DisplayToCustomer": false,
       "Note": "A shipment has been added",
       "DownloadId": 0,
       "DownloadGuid": "00000000-0000-0000-0000-000000000000",
       "CreatedOn": "9/6/2018 2:43:28 PM"
   },
   {
       "OrderNoteMessage": null,
       "OrderNoteId": 1039,
       "OrderId": 1010,
       "DisplayToCustomer": false,
       "Note": ""Order placed" email (to customer) has been queued. Queued email identifiers: 1012.",
       "DownloadId": 0,
       "DownloadGuid": "00000000-0000-0000-0000-000000000000",
       "CreatedOn": "8/29/2018 5:02:20 PM"
   },
   {
       "OrderNoteMessage": null,
       "OrderNoteId": 1038,
       "OrderId": 1010,
       "DisplayToCustomer": false,
       "Note": ""Order placed" email (to store owner) has been queued. Queued email identifiers: 1011.",
       "DownloadId": 0,
       "DownloadGuid": "00000000-0000-0000-0000-000000000000",
       "CreatedOn": "8/29/2018 5:02:20 PM"
   },
   {
       "OrderNoteMessage": null,
       "OrderNoteId": 1037,
       "OrderId": 1010,
       "DisplayToCustomer": false,
       "Note": "Order placed",
       "DownloadId": 0,
       "DownloadGuid": "00000000-0000-0000-0000-000000000000",
       "CreatedOn": "8/29/2018 5:02:19 PM"
   }
]