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=4ec96423-413a-435b-acba-78f029c0053f&bookedReturnsExchangeItem={
  "fkOrderItemRowId": "9312265d-ac12-446a-8071-3d6257881f81",
  "OrderItemBatchId": 2,
  "StockItemId": "e1df1e8e-1782-4ce2-a7af-ed6871948fbe",
  "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": "946541b3-d09d-4920-8f4c-982a263a8bae",
  "Category": "sample string 11",
  "Reason": "sample string 12",
  "fkReturnLocationId": "c70c390c-25f9-46e7-a096-bbd4539b64b9",
  "ReturnLocation": "sample string 14",
  "PendingRefundAmount": 1.1,
  "Scrapped": true,
  "ScrapQty": 1,
  "ParentOrderItemRowId": "2200ee31-793f-4651-822e-87545f1a1f63",
  "AdditionalCost": 1.1,
  "cCurrency": "sample string 17",
  "pkReturnId": 18,
  "ChannelReason": "sample string 19",
  "ChannelReasonSec": "sample string 20",
  "ReturnDate": "2019-08-21T13:34:03.354191+01:00",
  "DespatchUnitValue": 22.1,
  "BatchInventory": null
}

Response

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

null