Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

ShippingService

ProcessedOrders /RefundShipping

Allows 150 calls per minute

Response: List<RefundInfo>



Use this call to refund shipping for an order. Please check the refund options to ensure that a shipping refund is possible.

Parameters

NameTypeDescription
pkOrderIdGuidThe id of the order whose shipping needs to be refunded

Example Request

The following request format is required for this method.

Endpoint URL

POST https://eu-ext.linnworks.net/api/ProcessedOrders/RefundShipping

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=723f4315-1d83-47ce-afb8-adbf4ea04441

Response

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

[
  {
    "pkRefundRowId": "ea2eee6d-9803-4958-bb15-1b26eb109f39",
    "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.1792158+01:00",
    "ReturnReference": "sample string 8",
    "Cost": 1.1,
    "RefundStatus": 0,
    "IgnoredValidation": true,
    "fkOrderItemRowId": "5b714045-b435-4ae4-9e09-3041f6107539",
    "ShouldSerializeChannelReason": false,
    "ChannelReason": "sample string 10",
    "ShouldSerializeChannelReasonSec": false,
    "ChannelReasonSec": "sample string 11"
  }
]