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=c11e73ff-5766-4e9e-8590-babc93326221&despatchLocation=0c3d57b2-f440-4503-9bd4-feade6464098&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": "a5cbb870-b21e-434f-9e3a-1f64578c77d5",
    "fkOrderItemRowId": "430d6e0d-0d97-4f13-b451-6df54228ea43",
    "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": "55b76d23-9e8d-4df6-8b45-b0f046f266d5",
    "Scrapped": true,
    "ScrapQty": 1,
    "LastState": "sample string 16",
    "LastDate": "2019-06-12T09:27:51.7064132+01:00",
    "Completed": true,
    "fkNewOrderId": "578ba65c-fdab-45d4-ba37-cf3da26a6f95",
    "fkNewOrderItemRowId": "c3f4d0b4-3233-4006-9938-e26343b18fdc",
    "fkNewStockItemId": "6a89ff0c-6bcf-4381-a38d-8ec8ef5d5aaa",
    "NewQty": 1,
    "NewOrderId": 1,
    "NewOrderCancelled": true,
    "NewSKU": "sample string 20",
    "NewItemTitle": "sample string 21",
    "NewOrderProcessedOn": "2019-06-12T09:27:51.7064132+01:00",
    "AdditionalCost": 1.1,
    "fkRefundRowId": "6d2d1f53-dab2-4661-9309-137103e4beab",
    "RefundedAmount": 1.1,
    "PendingRefund": 1.1,
    "ReturnDate": "2019-06-12T09:27:51.7064132+01:00"
  },
  {
    "pkReturnId": 1,
    "RowType": 0,
    "ReturnReference": "sample string 2",
    "fkOrderId": "a5cbb870-b21e-434f-9e3a-1f64578c77d5",
    "fkOrderItemRowId": "430d6e0d-0d97-4f13-b451-6df54228ea43",
    "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": "55b76d23-9e8d-4df6-8b45-b0f046f266d5",
    "Scrapped": true,
    "ScrapQty": 1,
    "LastState": "sample string 16",
    "LastDate": "2019-06-12T09:27:51.7064132+01:00",
    "Completed": true,
    "fkNewOrderId": "578ba65c-fdab-45d4-ba37-cf3da26a6f95",
    "fkNewOrderItemRowId": "c3f4d0b4-3233-4006-9938-e26343b18fdc",
    "fkNewStockItemId": "6a89ff0c-6bcf-4381-a38d-8ec8ef5d5aaa",
    "NewQty": 1,
    "NewOrderId": 1,
    "NewOrderCancelled": true,
    "NewSKU": "sample string 20",
    "NewItemTitle": "sample string 21",
    "NewOrderProcessedOn": "2019-06-12T09:27:51.7064132+01:00",
    "AdditionalCost": 1.1,
    "fkRefundRowId": "6d2d1f53-dab2-4661-9309-137103e4beab",
    "RefundedAmount": 1.1,
    "PendingRefund": 1.1,
    "ReturnDate": "2019-06-12T09:27:51.7064132+01:00"
  }
]