Back

Search

Search

Methods

Inventory

Orders

ReturnsRefunds /EditBookedItemInfo

Response: Void



Edit booked exchange/return item

Parameters

NameTypeDescription
pkOrderIdGuidunique ID of the order
bookedReturnsExchangeItemBookedReturnsExchangeItemThe updated booked return/exchange item object

HTTP Endpoint

Server /ReturnsRefunds / EditBookedItemInfo

Permissions

GlobalPermissions.OrderBook.ReturnsRefundsNode

Example Code

Example Request

The following request format is required for this method.

POST https://eu-ext.linnworks.net//api/ReturnsRefunds/EditBookedItemInfo 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=943a54e0-6ecd-4193-b7d0-ee841cd93af3&bookedReturnsExchangeItem={
  "fkOrderItemRowId": "7f8c2bf2-afb6-4c74-86f9-b0a273631df5",
  "OrderItemBatchId": 2,
  "StockItemId": "b2462a8d-0535-4aa9-8cfc-3cda121185b1",
  "BatchInventoryId": 1,
  "BatchNumber": "sample string 3",
  "RowType": "sample string 4",
  "SKU": "sample string 5",
  "ItemTitle": "sample string 6",
  "ReturnQty": 7,
  "MaxReturnQty": 8,
  "NewQty": 1,
  "NewSKU": "sample string 9",
  "NewTitle": "sample string 10",
  "fkNewStockItemId": "fbbb42f4-4ef7-4d8a-86a5-f562e4f0854a",
  "Category": "sample string 11",
  "Reason": "sample string 12",
  "fkReturnLocationId": "f8e873e1-5a24-4b35-b6c3-0d03ff282bf5",
  "ReturnLocation": "sample string 14",
  "PendingRefundAmount": 1.1,
  "Scrapped": true,
  "ScrapQty": 1,
  "ParentOrderItemRowId": "6a5de8aa-7de5-4f9e-98e1-bf3d2463bbd9",
  "AdditionalCost": 1.1,
  "cCurrency": "sample string 17",
  "pkReturnId": 18,
  "ChannelReason": "sample string 19",
  "ChannelReasonSec": "sample string 20",
  "ReturnDate": "2019-10-09T15:11:39.0392101+01:00",
  "DespatchUnitValue": 22.1,
  "BatchInventory": null
}

Response

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

null