Returns all refund headers associated with the given order ID
Name | Type | Description |
---|---|---|
request | GetRefundHeadersByOrderIdRequest | The request class for this call |
The following request format is required for this method.
POST https://eu-ext.linnworks.net/api/ReturnsRefunds/GetRefundHeadersByOrderId
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
This is an example of the request structure. Results will vary depending on your data.
request={
"OrderId": "3edb690f-fb2d-4c52-887e-9452cba9a2a3"
}
This is an example of the response JSON. Results will vary depending on your data.
{
"RefundHeaders": [
{
"RefundHeaderId": 1,
"OrderId": "03e643ee-1c3a-4229-a68e-2e04c56f1e55",
"NumOrderId": 3,
"ExternalReference": "sample string 4",
"CreatedDate": "2022-03-09T13:04:03.5095116+00:00",
"Currency": "sample string 6",
"Amount": 7.0,
"Status": {
"StatusHeader": 0,
"StatusDetail": {
"StatusTag": "sample string 1",
"StatusDescription": "sample string 2",
"Actionable": true,
"ActionDescription": "sample string 4",
"EditableFields": [
"sample string 1"
]
}
},
"Actioned": true,
"LastActionDate": "2022-03-09T13:04:03.5095116+00:00",
"OrderSource": "sample string 10",
"OrderSubSource": "sample string 11",
"ChannelInitiated": true,
"RefundLines": null,
"RefundLink": "sample string 13"
}
]
}