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=4b19f408-11b6-43fb-a05a-f10370a53706&rowid=0871c608-a7cb-4519-8a32-b7b2413ea4a6&fulfilmentCenter=7ff950f2-8dd0-4b7a-b355-5c6bf58f7bb4

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": "2597f25a-f2c7-44e0-88de-2660ac500eec",
    "ProfitMargin": 7.1,
    "TotalDiscount": 8.1,
    "Currency": "sample string 9",
    "CountryTaxRate": 10.1,
    "ConversionRate": 11.1
  },
  "Item": {
    "ItemId": "5f8b967f-170a-49a0-a1c1-d0451a84b5c0",
    "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": "4ef99cf0-1e05-46f4-ad82-07b61058ce18",
      "Rowid": "5479dd00-3ebe-4691-9b82-e85302f1f974",
      "pkPurchaseId": "47f60037-8492-468f-9eb5-425f974a1ddf",
      "ExternalInvoiceNumber": "sample string 4",
      "fkSupplierId": "7a205d26-3680-4697-bb72-e905d57934e3",
      "DateOfDelivery": "2019-07-23T15:31:56.3704997+01:00",
      "QuotedDeliveryDate": "2019-07-23T15:31:56.3704997+01:00",
      "SupplierName": "sample string 8",
      "fkLocationId": "82b42b66-e195-465a-aabc-1b6ea5f24845"
    },
    "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": "5b4af8f6-5059-44cc-b64b-12f05b6c6405",
    "AdditionalInfo": [
      {
        "pkOptionId": "824cb129-b1d4-4e6f-bb25-a44e26677be8",
        "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": "0542021f-dcb8-4802-9627-ef367f25c751",
        "BatchId": 1,
        "OrderItemBatchId": 1
      },
      {
      }
    ],
    "InventoryTrackingType": 33,
    "isBatchedStockItem": false,
    "IsWarehouseManaged": true,
    "HasPurchaseOrders": true,
    "CanPurchaseOrderFulfil": true,
    "IsUnlinked": false,
    "RowId": "f511cf1e-aff5-4612-b696-856a09a4bc71",
    "OrderId": "4c67bcdb-9892-4fa9-a9a8-b22dd97715e5",
    "StockItemId": "53598fcf-2998-4ca5-85bc-8c741f6d0e2d"
  },
  "ItemWeight": 1.1,
  "TotalWeight": 2.1
}