Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

ShippingService

Orders /GetOrderAuditTrailsByIds

Allows 150 calls per minute

Response: GetOrderAuditTrailsByIdsResponse



Returns a list of audit trails for the provided order ids

Parameters

NameTypeDescription
requestGetOrderAuditTrailsByIdsRequest

Example Request

The following request format is required for this method.

Endpoint URL

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

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.

request={
  "OrderIds": [
    "59dfa087-c7eb-4f0f-8e4b-0f3f669f6e07"
  ]
}

Response

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

{
  "AuditTrails": [
    {
      "pkOrderId": "1387aa48-512b-4a57-9092-288c78f0f6f7",
      "AuditTrail": [
        {
          "Date": "2021-07-29T09:24:52.3334505+01:00",
          "Type": "sample string 2",
          "Note": "sample string 3",
          "User": "sample string 4",
          "fkOrderHistoryTypeId": "sample string 5",
          "Tag": "sample string 6",
          "TypeDescription": "sample string 7"
        }
      ]
    }
  ]
}