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=4518a91d-1fc6-48e3-aa5a-11039ce18825&includeRefundLink=true

Response

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

{
  "pkOrderId": "12d155fb-0b76-4670-8306-72850d6c74e1",
  "nOrderId": 2,
  "Source": "sample string 3",
  "SubSource": "sample string 4",
  "PostalServiceName": "sample string 5",
  "cShippingAddress": "sample string 6",
  "cCurrency": "sample string 7",
  "dReceivedDate": "2022-09-05T15:10:04.203954+03:00",
  "dProcessedOn": "2022-09-05T15:10:04.203954+03:00",
  "fTotalCharge": 10.1,
  "RefundLink": "sample string 11"
}