Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

ShippingService

ProcessedOrders /GetRefundableServiceItems

Allows 150 calls per minute

Response: List<ServiceItem>



Use this call to get a list of service items which can be refunded.

Parameters

NameTypeDescription
pkOrderIdGuidThe id of the order which the service items belong to.

Example Request

The following request format is required for this method.

Endpoint URL

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

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=da8c81b9-9cdb-4eff-ad79-eb784aec6768

Response

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

[
  {
    "pkOrderItemRowId": "00982a47-07b4-4fb4-a96f-00abc348e903",
    "ServiceName": "sample string 2",
    "ServiceCost": 3.1,
    "DefaultChannelReason": {
      "Tag": "sample string 1",
      "DisplayName": "sample string 2"
    },
    "DefaultChannelSubReason": {
      "Tag": "sample string 1",
      "DisplayName": "sample string 2"
    },
    "AllowsAutomatedRefund": true
  }
]