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=78a39518-1d80-4f16-a0ec-2ff7b0c1e9fd&despatchLocation=f2881b0b-275f-4db2-8757-15307f9fb4f2&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": "7aa7eec2-29c9-4f41-9813-40bc6914ced3",
    "fkOrderItemRowId": "d0cec9f8-c304-41bb-b278-15579f8b814a",
    "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": "3578b9fc-d92f-4d1a-89a4-fba4a927668c",
    "Scrapped": true,
    "ScrapQty": 1,
    "LastState": "sample string 16",
    "LastDate": "2019-08-21T13:34:07.9614161+01:00",
    "Completed": true,
    "fkNewOrderId": "6767cba4-7576-4e84-b1a1-09a307039c30",
    "fkNewOrderItemRowId": "6a18b98c-7c8f-4983-984d-f7ac63ed625b",
    "fkNewStockItemId": "17b21916-ed5d-40be-a259-7f032f3cba34",
    "NewQty": 1,
    "NewOrderId": 1,
    "NewOrderCancelled": true,
    "NewSKU": "sample string 20",
    "NewItemTitle": "sample string 21",
    "NewOrderProcessedOn": "2019-08-21T13:34:07.9614161+01:00",
    "AdditionalCost": 1.1,
    "fkRefundRowId": "c072ce7d-d08c-40c2-a36f-6d6f5cd5388b",
    "RefundedAmount": 1.1,
    "PendingRefund": 1.1,
    "ReturnDate": "2019-08-21T13:34:07.9614161+01:00"
  },
  {
    "pkReturnId": 1,
    "RowType": 0,
    "ReturnReference": "sample string 2",
    "fkOrderId": "7aa7eec2-29c9-4f41-9813-40bc6914ced3",
    "fkOrderItemRowId": "d0cec9f8-c304-41bb-b278-15579f8b814a",
    "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": "3578b9fc-d92f-4d1a-89a4-fba4a927668c",
    "Scrapped": true,
    "ScrapQty": 1,
    "LastState": "sample string 16",
    "LastDate": "2019-08-21T13:34:07.9614161+01:00",
    "Completed": true,
    "fkNewOrderId": "6767cba4-7576-4e84-b1a1-09a307039c30",
    "fkNewOrderItemRowId": "6a18b98c-7c8f-4983-984d-f7ac63ed625b",
    "fkNewStockItemId": "17b21916-ed5d-40be-a259-7f032f3cba34",
    "NewQty": 1,
    "NewOrderId": 1,
    "NewOrderCancelled": true,
    "NewSKU": "sample string 20",
    "NewItemTitle": "sample string 21",
    "NewOrderProcessedOn": "2019-08-21T13:34:07.9614161+01:00",
    "AdditionalCost": 1.1,
    "fkRefundRowId": "c072ce7d-d08c-40c2-a36f-6d6f5cd5388b",
    "RefundedAmount": 1.1,
    "PendingRefund": 1.1,
    "ReturnDate": "2019-08-21T13:34:07.9614161+01:00"
  }
]