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=20bbf14e-2421-4a0a-a7a7-1bb260e49235&despatchLocation=b7c1618c-3810-4229-abb6-a9c1d36980a6&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": "3cde58ea-be76-4b88-bed5-9d96753cad6d",
    "fkOrderItemRowId": "312457d7-8400-4b9c-9bee-ff1c9fd03cbe",
    "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": "e38a59a5-2bf4-43da-81e4-3b29882a6076",
    "Scrapped": true,
    "ScrapQty": 1,
    "LastState": "sample string 16",
    "LastDate": "2018-02-19T16:57:07.96227+00:00",
    "Completed": true,
    "fkNewOrderId": "7ac4097d-8b88-4447-99b0-788acbd14899",
    "fkNewOrderItemRowId": "7595b5b7-ecee-4bb1-a9ab-815a313d681d",
    "fkNewStockItemId": "77a6e646-953d-4086-891a-118a1ddffdf1",
    "NewQty": 1,
    "NewOrderId": 1,
    "NewOrderCancelled": true,
    "NewSKU": "sample string 20",
    "NewItemTitle": "sample string 21",
    "NewOrderProcessedOn": "2018-02-19T16:57:07.96227+00:00",
    "AdditionalCost": 1.1,
    "fkRefundRowId": "e356d45e-ff26-4570-a7a3-18067ac4b95b",
    "RefundedAmount": 1.1,
    "PendingRefund": 1.1,
    "ReturnDate": "2018-02-19T16:57:07.96227+00:00"
  },
  {
    "pkReturnId": 1,
    "RowType": 0,
    "ReturnReference": "sample string 2",
    "fkOrderId": "3cde58ea-be76-4b88-bed5-9d96753cad6d",
    "fkOrderItemRowId": "312457d7-8400-4b9c-9bee-ff1c9fd03cbe",
    "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": "e38a59a5-2bf4-43da-81e4-3b29882a6076",
    "Scrapped": true,
    "ScrapQty": 1,
    "LastState": "sample string 16",
    "LastDate": "2018-02-19T16:57:07.96227+00:00",
    "Completed": true,
    "fkNewOrderId": "7ac4097d-8b88-4447-99b0-788acbd14899",
    "fkNewOrderItemRowId": "7595b5b7-ecee-4bb1-a9ab-815a313d681d",
    "fkNewStockItemId": "77a6e646-953d-4086-891a-118a1ddffdf1",
    "NewQty": 1,
    "NewOrderId": 1,
    "NewOrderCancelled": true,
    "NewSKU": "sample string 20",
    "NewItemTitle": "sample string 21",
    "NewOrderProcessedOn": "2018-02-19T16:57:07.96227+00:00",
    "AdditionalCost": 1.1,
    "fkRefundRowId": "e356d45e-ff26-4570-a7a3-18067ac4b95b",
    "RefundedAmount": 1.1,
    "PendingRefund": 1.1,
    "ReturnDate": "2018-02-19T16:57:07.96227+00:00"
  }
]