Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

ProcessedOrders /GetReturnOrderInfo

Allows 150 calls per minute

Response: ReturnOrderHeader



Use this call to get basic information about a processed order (e.g. source, subsource, address) as seen on the Returns/Refunds screens.

Parameters

NameTypeDescription
pkOrderIdGuidThe id of the order.
includeRefundLinkBooleanIs a refund link required (not available for all channels).

Example Request

The following request format is required for this method.

Endpoint URL

GET | POST https://eu-ext.linnworks.net/api/ProcessedOrders/GetReturnOrderInfo

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.

pkOrderId=80ac350c-fc23-4150-9e75-442cf6f88a94&includeRefundLink=true

Response

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

{
  "pkOrderId": "fe307974-74ae-4d25-9abe-86df92241003",
  "nOrderId": 2,
  "Source": "sample string 3",
  "SubSource": "sample string 4",
  "PostalServiceName": "sample string 5",
  "cShippingAddress": "sample string 6",
  "cCurrency": "sample string 7",
  "dReceivedDate": "2023-01-10T13:49:50.2031546+00:00",
  "dProcessedOn": "2023-01-10T13:49:50.2031546+00:00",
  "fTotalCharge": 10.1,
  "RefundLink": "sample string 11"
}