Accepts a booked return or exchange in the system
Name | Type | Description |
---|---|---|
request | ActionRMABookingRequest | The request class for this call |
The following request format is required for this method.
PUT | POST https://eu-ext.linnworks.net/api/ReturnsRefunds/ActionRMABooking
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={
"RMAHeaderId": 1,
"OrderId": "f644e5a6-21b2-4cc1-a8cc-033e3c7c0366",
"Request": {
"caption": "sample string 1",
"controls": [
{
"id": "sample string 1",
"caption": "sample string 2",
"description": "sample string 3",
"type": "sample string 4",
"value": "sample string 5",
"group": "sample string 6"
}
]
}
}
This is an example of the response JSON. Results will vary depending on your data.
{
"RefundHeaderId": 1,
"Status": {
"StatusHeader": 0,
"StatusDetail": {
"StatusTag": "sample string 1",
"StatusDescription": "sample string 2",
"Actionable": true,
"ActionDescription": "sample string 4",
"EditableFields": [
"sample string 1"
]
}
},
"SuccessfullyActioned": true,
"RMAHeaderId": 1,
"Items": [
{
"RMARowId": 1,
"RMAHeaderId": 2,
"Type": 0,
"Status": {
},
"ExternalReference": "sample string 3",
"CreatedDate": "2023-01-10T13:49:46.8364227+00:00",
"Actioned": true,
"ActionedDate": "2023-01-10T13:49:46.8364227+00:00",
"Deleted": true,
"ResendQuantity": 7,
"NewOrderId": "6df62ad0-0b3f-4d93-bbdc-f3332702f90f",
"ValidationError": "sample string 10",
"Error": "sample string 10",
"Errors": [
{
"RMARowId": 1,
"ErrorMessage": "sample string 2",
"DateStamp": "2023-01-10T13:49:46.8364227+00:00",
"Acknowledged": true
}
],
"Info": "sample string 11",
"ExchangeStockItemId": "f8c82682-5951-4352-a4ad-8103d62432ec",
"ExchangeSKU": "sample string 13",
"ExchangeTitle": "sample string 14",
"ExchangeQuantity": 15,
"DespatchLocationId": "91cad1dc-6a63-4c59-8ef4-53ed00c4250d",
"AdditionalCost": 17.0,
"OrderItemRowId": "2233ae59-03bd-4030-bd32-0b202f47806c",
"ReturnItemSKU": "sample string 19",
"ReturnItemTitle": "sample string 20",
"BatchInventoryId": 1,
"ReturnLocation": "d4e61965-63e4-4ab3-ae9e-65f346d5323d",
"ReturnQuantity": 22,
"RefundAmount": 23.0,
"RefundRowId": "43e9d103-718e-4e10-93ff-346c2c9ce1ce",
"ScrapQuantity": 24,
"ReasonCategory": "sample string 25",
"IsFreeText": false,
"Reason": "sample string 26",
"ReasonTag": "sample string 27",
"SubReasonTag": "sample string 28",
"BinrackOverride": "sample string 29"
}
],
"Errors": [
"sample string 1"
],
"Info": [
"sample string 1"
]
}