Back

Search

Search

Methods

Inventory

Orders

ProcessedOrders /CreateFullResend

Response: List<ReturnInfo>


Parameters

NameTypeDescription
pkOrderIdGuid
despatchLocationGuid
categoryString
reasonString
additionalCostDouble

HTTP Endpoint

Server /ProcessedOrders / CreateFullResend

Permissions


Example Code

Example Request

The following request format is required for this method.

POST https://eu-ext.linnworks.net//api/ProcessedOrders/CreateFullResend HTTP/1.1
Host: eu-ext.linnworks.net
Connection: keep-alive
Accept: application/json, text/javascript, */*; q=0.01
Origin: https://www.linnworks.net
Accept-Language: en
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.90 Safari/537.36
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Referer: https://www.linnworks.net/
Accept-Encoding: gzip, deflate
Authorization: INSERT_YOUR_TOKEN_HERE

pkOrderId=23c80109-9cb0-4db0-8ba3-84bac70ddfbe&despatchLocation=b021703e-5ee3-4633-af59-c0f3968b4a52&category=sample string 1&reason=sample string 1&additionalCost=1.1

Response

This is an example response. Results may vary depending on your data.

[
  {
    "pkReturnId": 1,
    "RowType": 0,
    "ReturnReference": "sample string 2",
    "fkOrderId": "4740fa0f-53b0-4f59-83ea-aafb37455e04",
    "fkOrderItemRowId": "c34059cd-1ea3-4b57-913b-cbe12ac35ca5",
    "OrderItemBatchId": 5,
    "nOrderId": 6,
    "SKU": "sample string 7",
    "ItemTitle": "sample string 8",
    "BatchNumber": "sample string 9",
    "Reason": "sample string 10",
    "ChannelReason": "sample string 11",
    "ChannelReasonSec": "sample string 12",
    "Category": "sample string 13",
    "ReturnQty": 14,
    "fkReturnLocationId": "e74907f5-3f34-421f-b26c-234e52056026",
    "Scrapped": true,
    "ScrapQty": 1,
    "LastState": "sample string 16",
    "LastDate": "2018-10-03T11:12:35.7043587+01:00",
    "Completed": true,
    "fkNewOrderId": "6423e6e6-e8d6-4db1-bab5-487546343ec6",
    "fkNewOrderItemRowId": "be0a6ee0-619b-4508-9501-c1bab991391a",
    "fkNewStockItemId": "4166928f-5446-406a-b734-30570bf112c0",
    "NewQty": 1,
    "NewOrderId": 1,
    "NewOrderCancelled": true,
    "NewSKU": "sample string 20",
    "NewItemTitle": "sample string 21",
    "NewOrderProcessedOn": "2018-10-03T11:12:35.7043587+01:00",
    "AdditionalCost": 1.1,
    "fkRefundRowId": "e6d2ff8a-e4eb-4621-8a99-6303d2a0ab66",
    "RefundedAmount": 1.1,
    "PendingRefund": 1.1,
    "ReturnDate": "2018-10-03T11:12:35.7043587+01:00"
  },
  {
    "pkReturnId": 1,
    "RowType": 0,
    "ReturnReference": "sample string 2",
    "fkOrderId": "4740fa0f-53b0-4f59-83ea-aafb37455e04",
    "fkOrderItemRowId": "c34059cd-1ea3-4b57-913b-cbe12ac35ca5",
    "OrderItemBatchId": 5,
    "nOrderId": 6,
    "SKU": "sample string 7",
    "ItemTitle": "sample string 8",
    "BatchNumber": "sample string 9",
    "Reason": "sample string 10",
    "ChannelReason": "sample string 11",
    "ChannelReasonSec": "sample string 12",
    "Category": "sample string 13",
    "ReturnQty": 14,
    "fkReturnLocationId": "e74907f5-3f34-421f-b26c-234e52056026",
    "Scrapped": true,
    "ScrapQty": 1,
    "LastState": "sample string 16",
    "LastDate": "2018-10-03T11:12:35.7043587+01:00",
    "Completed": true,
    "fkNewOrderId": "6423e6e6-e8d6-4db1-bab5-487546343ec6",
    "fkNewOrderItemRowId": "be0a6ee0-619b-4508-9501-c1bab991391a",
    "fkNewStockItemId": "4166928f-5446-406a-b734-30570bf112c0",
    "NewQty": 1,
    "NewOrderId": 1,
    "NewOrderCancelled": true,
    "NewSKU": "sample string 20",
    "NewItemTitle": "sample string 21",
    "NewOrderProcessedOn": "2018-10-03T11:12:35.7043587+01:00",
    "AdditionalCost": 1.1,
    "fkRefundRowId": "e6d2ff8a-e4eb-4621-8a99-6303d2a0ab66",
    "RefundedAmount": 1.1,
    "PendingRefund": 1.1,
    "ReturnDate": "2018-10-03T11:12:35.7043587+01:00"
  }
]