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=c33cf26f-60b9-4642-ac29-80e39e064219&despatchLocation=7844de03-4ff9-4205-9b4c-cd54e4c30cf9&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": "406431a3-a807-45e0-9de0-e12ac8fc76cc",
    "fkOrderItemRowId": "26ac96fc-aa3c-4698-87b7-cf428cc0b678",
    "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": "910423b1-f8ed-469b-bea4-e7bbeaf304e8",
    "Scrapped": true,
    "ScrapQty": 1,
    "LastState": "sample string 16",
    "LastDate": "2019-10-09T15:11:42.7706841+01:00",
    "Completed": true,
    "fkNewOrderId": "eb34a598-c950-4d2e-8af3-192fd3ba792e",
    "fkNewOrderItemRowId": "c0d8cae2-9bd6-49bd-bc95-a8ee3d4d37eb",
    "fkNewStockItemId": "6c41aa22-df25-4c48-bb30-572f9f3cfc06",
    "NewQty": 1,
    "NewOrderId": 1,
    "NewOrderCancelled": true,
    "NewSKU": "sample string 20",
    "NewItemTitle": "sample string 21",
    "NewOrderProcessedOn": "2019-10-09T15:11:42.7706841+01:00",
    "AdditionalCost": 1.1,
    "fkRefundRowId": "4b9cb456-aa7b-4d27-8075-f257d95c2108",
    "RefundedAmount": 1.1,
    "PendingRefund": 1.1,
    "ReturnDate": "2019-10-09T15:11:42.7706841+01:00"
  },
  {
    "pkReturnId": 1,
    "RowType": 0,
    "ReturnReference": "sample string 2",
    "fkOrderId": "406431a3-a807-45e0-9de0-e12ac8fc76cc",
    "fkOrderItemRowId": "26ac96fc-aa3c-4698-87b7-cf428cc0b678",
    "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": "910423b1-f8ed-469b-bea4-e7bbeaf304e8",
    "Scrapped": true,
    "ScrapQty": 1,
    "LastState": "sample string 16",
    "LastDate": "2019-10-09T15:11:42.7706841+01:00",
    "Completed": true,
    "fkNewOrderId": "eb34a598-c950-4d2e-8af3-192fd3ba792e",
    "fkNewOrderItemRowId": "c0d8cae2-9bd6-49bd-bc95-a8ee3d4d37eb",
    "fkNewStockItemId": "6c41aa22-df25-4c48-bb30-572f9f3cfc06",
    "NewQty": 1,
    "NewOrderId": 1,
    "NewOrderCancelled": true,
    "NewSKU": "sample string 20",
    "NewItemTitle": "sample string 21",
    "NewOrderProcessedOn": "2019-10-09T15:11:42.7706841+01:00",
    "AdditionalCost": 1.1,
    "fkRefundRowId": "4b9cb456-aa7b-4d27-8075-f257d95c2108",
    "RefundedAmount": 1.1,
    "PendingRefund": 1.1,
    "ReturnDate": "2019-10-09T15:11:42.7706841+01:00"
  }
]