Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

ShippingService

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

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=73a3d9d5-28ce-45ea-8548-b4df99308a91

Response

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

[
  {
    "pkRefundRowId": "ac73e1b0-26a8-40c1-a756-8c0c82067126",
    "SKU": "sample string 1",
    "ItemTitle": "sample string 2",
    "IsItem": true,
    "IsService": true,
    "Amount": 5.1,
    "Reason": "sample string 6",
    "Actioned": true,
    "ActionDate": "2021-07-29T09:24:42.3882161+01:00",
    "ReturnReference": "sample string 8",
    "Cost": 1.1,
    "RefundStatus": 0,
    "IgnoredValidation": true,
    "fkOrderItemRowId": "aab9cf7c-6e37-46ae-a25b-60f67f3f4b50",
    "ShouldSerializeChannelReason": false,
    "ChannelReason": "sample string 10",
    "ShouldSerializeChannelReasonSec": false,
    "ChannelReasonSec": "sample string 11"
  }
]