Set the order notes for a specific order
SetOrderNotes overwrites the existing order notes with those in the list provided.
Any existing notes should be retrieved using GetOrderNotes and added to this list, so that they are not lost/overwritten.
Name | Type | Description |
---|---|---|
orderId | Guid | Order id |
orderNotes | List<OrderNote> | Notes |
The following request format is required for this method.
GET | POST https://eu-ext.linnworks.net/api/Orders/SetOrderNotes
Connection: keep-alive
Accept: application/json
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Accept-Encoding: gzip, deflate
Authorization: INSERT_YOUR_TOKEN_HERE
This is an example of the request structure. Results will vary depending on your data.
orderId=8746e99d-8b99-4316-9d5a-49cbd5bc7dd5&orderNotes=[
{
"OrderNoteId": "5fc80c16-a7fd-4df5-a146-3b5a76179d2f",
"OrderId": "b893122f-4f43-449c-8801-a7cca6df3f33",
"NoteDate": "2023-01-10T13:49:45.8429257+00:00",
"Internal": true,
"Note": "sample string 5",
"CreatedBy": "sample string 6",
"NoteTypeId": 64
}
]
This is an example of the response JSON. Results will vary depending on your data.
null