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=57040b4d-7082-4b04-b740-3c5d4b069dfa&rowid=9ca16330-4cb2-46ea-88c4-716406337e31&fulfilmentCenter=4843c5b6-48bf-489d-ad84-8002030babfe

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": "3bca7eef-576b-46b0-b91b-cd9f82e89ba6",
    "ProfitMargin": 7.1,
    "TotalDiscount": 8.1,
    "Currency": "sample string 9",
    "CountryTaxRate": 10.1,
    "ConversionRate": 11.1
  },
  "Item": {
    "ItemId": "da9fc7b9-a450-48fb-bdc8-2cd9d3607507",
    "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,
    "OnPurchaseOrder": {
      "pkPurchaseItemId": "f993b2b7-10b7-4b98-8711-dc19e76dcefc",
      "Rowid": "88a73856-db72-4bc5-8527-af4e3eb71080",
      "pkPurchaseId": "64c8eec1-e9c9-4dc9-bbf6-4354712c9d5f",
      "ExternalInvoiceNumber": "sample string 4",
      "fkSupplierId": "1e4f0e23-8603-423e-a70f-923a788ec730",
      "DateOfDelivery": "2019-10-09T15:11:44.5832303+01:00",
      "QuotedDeliveryDate": "2019-10-09T15:11:44.5832303+01:00",
      "SupplierName": "sample string 8",
      "fkLocationId": "9e4bf6f8-7990-4139-b2d2-54ca4283fcc9"
    },
    "InOrderBook": 1,
    "Level": 11,
    "MinimumLevel": 1,
    "AvailableStock": 12,
    "PricePerUnit": 13.1,
    "UnitCost": 14.1,
    "DespatchStockUnitCost": 15.1,
    "Discount": 16.1,
    "Tax": 21.1,
    "TaxRate": 17.1,
    "Cost": 18.1,
    "CostIncTax": 19.1,
    "CompositeSubItems": [
      {
      },
      {
      }
    ],
    "IsService": true,
    "SalesTax": 21.1,
    "TaxCostInclusive": true,
    "PartShipped": true,
    "Weight": 24.1,
    "BarcodeNumber": "sample string 25",
    "Market": 26,
    "ChannelSKU": "sample string 27",
    "ChannelTitle": "sample string 28",
    "DiscountValue": 10.806660973526899,
    "HasImage": true,
    "ImageId": "17cd12bc-1687-42a9-8069-05a1bb332980",
    "AdditionalInfo": [
      {
        "pkOptionId": "78d861ef-3aa6-45c1-9e81-6027f1ca1f42",
        "Property": "sample string 2",
        "Value": "sample string 3"
      },
      {
      }
    ],
    "StockLevelIndicator": 29,
    "BatchNumberScanRequired": true,
    "SerialNumberScanRequired": true,
    "BinRack": "sample string 32",
    "BinRacks": [
      {
        "Quantity": 1,
        "BinRack": "sample string 2",
        "Location": "5243b66d-9de0-4004-bf5c-27760b93e0c6",
        "BatchId": 1,
        "OrderItemBatchId": 1
      },
      {
      }
    ],
    "InventoryTrackingType": 33,
    "isBatchedStockItem": false,
    "IsWarehouseManaged": true,
    "HasPurchaseOrders": true,
    "CanPurchaseOrderFulfil": true,
    "IsUnlinked": false,
    "RowId": "18510149-5dd5-479f-a3ba-5ab492072624",
    "OrderId": "14e420ce-d37d-43b9-8ea3-d2b2b4cfd934",
    "StockItemId": "bcff247a-4996-462a-9090-de49dfae64d9"
  },
  "ItemWeight": 1.1,
  "TotalWeight": 2.1
}