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

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=9464c6bb-2927-4d50-9750-13e84a70bcc8

Response

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

[
  {
    "pkRefundRowId": "82b13a48-1ebc-439e-97b4-03e69da4c440",
    "SKU": "sample string 1",
    "ItemTitle": "sample string 2",
    "IsItem": true,
    "IsService": true,
    "Amount": 5.1,
    "Reason": "sample string 6",
    "Actioned": true,
    "ActionDate": "2022-03-09T13:04:12.3206951+00:00",
    "ReturnReference": "sample string 8",
    "Cost": 1.1,
    "RefundStatus": 0,
    "IgnoredValidation": true,
    "fkOrderItemRowId": "e2a84001-bf20-4bdf-b81e-753001195eae",
    "ShouldSerializeChannelReason": false,
    "ChannelReason": "sample string 10",
    "ShouldSerializeChannelReasonSec": false,
    "ChannelReasonSec": "sample string 11"
  }
]