Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

ReturnsRefunds /EditBookedItemInfo

Allows 150 calls per minute

Response: Void



Edit booked exchange/return item

Parameters

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

Permissions

GlobalPermissions.OrderBook.ReturnsRefundsNode

Example Request

The following request format is required for this method.

Endpoint URL

GET | POST https://eu-ext.linnworks.net/api/ReturnsRefunds/EditBookedItemInfo

Headers

Connection: keep-alive
Accept: application/json
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Accept-Encoding: gzip, deflate
Authorization: INSERT_YOUR_TOKEN_HERE

Request Body

This is an example of the request structure. Results will vary depending on your data.

pkOrderId=8a2f0bd2-f162-41af-8ca3-89b4c554015e&bookedReturnsExchangeItem={
  "fkOrderItemRowId": "952b485d-81b8-4614-a9c0-dc66e08c08ec",
  "OrderItemBatchId": 2,
  "StockItemId": "c53eab13-bbc5-441c-9d96-0f5f3aa8b98e",
  "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": "e5771980-007e-4485-93f2-4100d32aadee",
  "Category": "sample string 11",
  "Reason": "sample string 12",
  "fkReturnLocationId": "56974296-0c7f-481e-9a7e-0b005d31fea2",
  "ReturnLocation": "sample string 14",
  "PendingRefundAmount": 1.1,
  "Scrapped": true,
  "ScrapQty": 1,
  "ParentOrderItemRowId": "0ff381c1-48b6-467c-898f-76cb558640e2",
  "AdditionalCost": 1.1,
  "cCurrency": "sample string 17",
  "pkReturnId": 18,
  "ChannelReason": "sample string 19",
  "ChannelReasonSec": "sample string 20",
  "ReturnDate": "2023-01-10T13:49:13.1655648+00:00",
  "DespatchUnitValue": 22.1,
  "BatchInventory": {
    "BatchInventoryId": 1,
    "BatchId": 2,
    "StockLocationId": "998b23f1-a26f-4848-89cb-309d6e9b09f1",
    "BinRack": "sample string 4",
    "PrioritySequence": 5,
    "Quantity": 6,
    "StockValue": 7.0,
    "StartQuantity": 8,
    "PickedQuantity": 9,
    "BatchStatus": "Available",
    "IsDeleted": true,
    "WarehouseBinrackStandardType": 1,
    "WarehouseBinrackTypeName": "sample string 12",
    "InTransfer": 1,
    "BinRackId": 1,
    "WarehouseBinrackTypeId": 1
  }
}

Response

This is an example of the response JSON. Results will vary depending on your data.