Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

ProcessedOrders /GetRefunds

Allows 150 calls per minute

Response: List<RefundInfo>



Gets all refund order items for an order

Parameters

NameTypeDescription
pkOrderIdGuidPrimary key for order

Example Request

The following request format is required for this method.

Endpoint URL

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

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=823c48d7-e57a-4de5-875f-1b92721655fa

Response

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

[
  {
    "pkRefundRowId": "d8e48673-40b5-44eb-9cd6-3d37ccfdda53",
    "SKU": "sample string 1",
    "ItemTitle": "sample string 2",
    "IsItem": true,
    "IsService": true,
    "Amount": 5.1,
    "Reason": "sample string 6",
    "Actioned": true,
    "ActionDate": "2022-09-05T15:10:04.3660055+03:00",
    "ReturnReference": "sample string 8",
    "Cost": 1.1,
    "RefundStatus": 0,
    "IgnoredValidation": true,
    "fkOrderItemRowId": "ed9d123f-12ee-4642-be7e-2cf5e85ffa31",
    "ShouldSerializeChannelReason": false,
    "ChannelReason": "sample string 10",
    "ShouldSerializeChannelReasonSec": false,
    "ChannelReasonSec": "sample string 11"
  }
]