Back

Search

Search

Methods

Inventory

Orders

Orders /RemoveOrderItem

Response: UpdateOrderItemResult



Remove item from an order

Parameters

NameTypeDescription
orderIdGuidOrder id
rowidGuidRow id of the item
fulfilmentCenterGuidFulfilment center id

HTTP Endpoint

Server /Orders / RemoveOrderItem

Permissions


Example Code

Example Request

The following request format is required for this method.

POST https://eu-ext.linnworks.net//api/Orders/RemoveOrderItem 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

orderId=c464fc88-6565-4b32-b494-1f862722f78d&rowid=d785ceed-791f-4267-ac23-e1e80d386d76&fulfilmentCenter=2d866f26-d317-4673-b883-f72ad82cf41d

Response

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

{
  "TotalsInfo": {
    "Subtotal": 1.1,
    "PostageCost": 2.1,
    "Tax": 3.1,
    "TotalCharge": 4.1,
    "PaymentMethod": "sample string 5",
    "PaymentMethodId": "aad0bbdd-fa29-4af7-94d7-4e89c065b063",
    "ProfitMargin": 7.1,
    "TotalDiscount": 8.1,
    "Currency": "sample string 9",
    "CountryTaxRate": 10.1,
    "ConversionRate": 11.1
  },
  "Item": {
    "OrderId": "16c1c5e5-83c3-4339-96bf-8be84831cac7",
    "ItemId": "0f0fd6bf-e714-4d80-aa3b-361a861f6df6",
    "StockItemId": "4e5821ea-209d-4eaa-89ae-11b8c8c93eea",
    "ItemNumber": "sample string 4",
    "SKU": "sample string 5",
    "ItemSource": "sample string 6",
    "Title": "sample string 7",
    "Quantity": 8,
    "CategoryName": "sample string 9",
    "CompositeAvailablity": 1,
    "RowId": "ea5a030d-f70e-41d6-a62a-2c197d9cf82c",
    "StockLevelsSpecified": true,
    "OnOrder": 12,
    "InOrderBook": 1,
    "Level": 13,
    "MinimumLevel": 1,
    "AvailableStock": 14,
    "PricePerUnit": 15.1,
    "UnitCost": 16.1,
    "Discount": 17.1,
    "Tax": 22.1,
    "TaxRate": 18.1,
    "Cost": 19.1,
    "CostIncTax": 20.1,
    "CompositeSubItems": [
      {
      },
      {
      }
    ],
    "IsService": true,
    "SalesTax": 22.1,
    "TaxCostInclusive": true,
    "PartShipped": true,
    "Weight": 25.1,
    "BarcodeNumber": "sample string 26",
    "Market": 27,
    "ChannelSKU": "sample string 28",
    "ChannelTitle": "sample string 29",
    "DiscountValue": 17.490939881456391,
    "HasImage": true,
    "ImageId": "2dbbdd5d-fd74-4d61-81dc-70a3cb60cbe0",
    "AdditionalInfo": [
      {
        "pkOptionId": "abccac5c-21f9-4b86-b042-c1ad43abe5fe",
        "Property": "sample string 2",
        "Value": "sample string 3"
      },
      {
      }
    ],
    "StockLevelIndicator": 30,
    "BatchNumberScanRequired": true,
    "SerialNumberScanRequired": true,
    "BinRack": "sample string 33",
    "BinRacks": [
      {
        "Quantity": 1,
        "BinRack": "sample string 2",
        "Location": "abef673e-7af3-4adc-a2d3-fcf4144bbfff"
      },
      {
      }
    ],
    "InventoryTrackingType": 34,
    "isBatchedStockItem": false
  },
  "ItemWeight": 1.1,
  "TotalWeight": 2.1
}