Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

ShippingService

Orders /SetOrderNotes

Allows 250 calls per minute

Response: Void



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.

Parameters

NameTypeDescription
orderIdGuidOrder id
orderNotesList<OrderNote>Notes

Example Request

The following request format is required for this method.

Endpoint URL

POST https://eu-ext.linnworks.net/api/Orders/SetOrderNotes

Headers

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

Request Body

This is an example of the request structure. Results will vary depending on your data.

orderId=06aa9422-230c-47b2-a1e5-86054247f339&orderNotes=[
  {
    "OrderNoteId": "36c92f52-8f59-4da4-8fe2-b1da6796ca58",
    "OrderId": "9b8e1f63-50b9-46d4-bfeb-1b2280713c6e",
    "NoteDate": "2021-07-29T09:24:13.2021215+01:00",
    "Internal": true,
    "Note": "sample string 5",
    "CreatedBy": "sample string 6",
    "NoteTypeId": 64
  }
]

Response

This is an example of the response JSON. Results will vary depending on your data.