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=0de45d36-96ab-4f0b-927d-41d51bbf1522&rowid=eb0d9ba0-ec2d-438e-9bdf-74881f4d9bc6&fulfilmentCenter=e896403f-0489-4488-a2c1-e071ffb7a301

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": "3f6ad055-2df6-4ef5-b2a9-61763aca9910",
    "ProfitMargin": 7.1,
    "TotalDiscount": 8.1,
    "Currency": "sample string 9",
    "CountryTaxRate": 10.1,
    "ConversionRate": 11.1
  },
  "Item": {
    "ItemId": "9df927df-6809-4ce5-889a-de2484aeb988",
    "ItemNumber": "sample string 2",
    "SKU": "sample string 3",
    "ItemSource": "sample string 4",
    "Title": "sample string 5",
    "Quantity": 6,
    "CategoryName": "sample string 8",
    "CompositeAvailablity": 1,
    "StockLevelsSpecified": true,
    "OnOrder": 10,
    "InOrderBook": 1,
    "Level": 11,
    "MinimumLevel": 1,
    "AvailableStock": 12,
    "PricePerUnit": 13.1,
    "UnitCost": 14.1,
    "Discount": 15.1,
    "Tax": 20.1,
    "TaxRate": 16.1,
    "Cost": 17.1,
    "CostIncTax": 18.1,
    "CompositeSubItems": [
      {
      },
      {
      }
    ],
    "IsService": true,
    "SalesTax": 20.1,
    "TaxCostInclusive": true,
    "PartShipped": true,
    "Weight": 23.1,
    "BarcodeNumber": "sample string 24",
    "Market": 25,
    "ChannelSKU": "sample string 26",
    "ChannelTitle": "sample string 27",
    "DiscountValue": 10.222739018087856,
    "HasImage": true,
    "ImageId": "ac746383-ea1c-4071-b1fa-8db7ba4b93b5",
    "AdditionalInfo": [
      {
        "pkOptionId": "5f83aab3-74b9-441f-a8a7-7808c040cc2e",
        "Property": "sample string 2",
        "Value": "sample string 3"
      },
      {
      }
    ],
    "StockLevelIndicator": 28,
    "BatchNumberScanRequired": true,
    "SerialNumberScanRequired": true,
    "BinRack": "sample string 31",
    "BinRacks": [
      {
        "Quantity": 1,
        "BinRack": "sample string 2",
        "Location": "ff960ce4-05a4-42f9-b73a-be60beb8d0a0",
        "BatchId": 1,
        "OrderItemBatchId": 1
      },
      {
      }
    ],
    "InventoryTrackingType": 32,
    "isBatchedStockItem": false,
    "HasPurchaseOrders": true,
    "CanPurchaseOrderFulfil": true,
    "IsUnlinked": false,
    "RowId": "bdd19094-03c8-4653-9d61-124ba1435809",
    "OrderId": "8af4e895-5d50-4122-85d0-236bfcff6d7b",
    "StockItemId": "ef99e7ae-86af-4437-a0e5-b2b7293586ba"
  },
  "ItemWeight": 1.1,
  "TotalWeight": 2.1
}