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=cb0646fd-a64c-446f-9d51-a928b6f19988&rowid=0d97fde7-de66-4a58-8bd2-c88cead53d9e&fulfilmentCenter=44d92afd-20a6-4c8d-a618-d2b8bdbee8a3

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": "51a4b511-ffed-4e63-8ce8-a5cca750e461",
    "ProfitMargin": 7.1,
    "TotalDiscount": 8.1,
    "Currency": "sample string 9",
    "CountryTaxRate": 10.1,
    "ConversionRate": 11.1
  },
  "Item": {
    "ItemId": "4a6fb0ac-31c1-43c5-9047-7bbb01700c61",
    "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": "88018095-369f-490f-b42f-92ffdabc8166",
      "Rowid": "3b812dbd-840c-40b0-ae7f-694333f2d53c",
      "pkPurchaseId": "66aaa82f-83e6-49b9-8ce3-892b2e98c671",
      "ExternalInvoiceNumber": "sample string 4",
      "fkSupplierId": "3e1e6ef6-db38-43d2-a663-f492e3bfb100",
      "DateOfDelivery": "2019-11-28T09:46:01.0396978+00:00",
      "QuotedDeliveryDate": "2019-11-28T09:46:01.0396978+00:00",
      "SupplierName": "sample string 8",
      "fkLocationId": "297271d5-6ffe-4249-9ed8-2a9ffd8c2e9e"
    },
    "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": "162856e9-37ee-4bcc-a7c7-5631816b2e99",
    "AdditionalInfo": [
      {
        "pkOptionId": "9de8db21-7890-4505-9fb9-fa1edae0a098",
        "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": "c0a66213-10b7-4941-b8a2-3734811c005f",
        "BatchId": 1,
        "OrderItemBatchId": 1
      },
      {
      }
    ],
    "InventoryTrackingType": 33,
    "isBatchedStockItem": false,
    "IsWarehouseManaged": true,
    "HasPurchaseOrders": true,
    "CanPurchaseOrderFulfil": true,
    "IsUnlinked": false,
    "RowId": "14fddd37-cbbc-4b98-b2ba-b8c65954284f",
    "OrderId": "6cfab1a7-b3bf-477e-9b79-51318de937ae",
    "StockItemId": "456dd667-711b-44da-8550-bd042f8c86fe"
  },
  "ItemWeight": 1.1,
  "TotalWeight": 2.1
}