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=7eccefaf-7df3-42ac-b789-746a45b6d261&rowid=67b545bb-27a5-453f-83d1-73d429c27aba&fulfilmentCenter=f9ebe1d4-a479-47b4-b565-8546c6ec8c55

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": "e81dd428-e188-4098-9166-53c7262cedaa",
    "ProfitMargin": 7.1,
    "TotalDiscount": 8.1,
    "Currency": "sample string 9",
    "CountryTaxRate": 10.1,
    "ConversionRate": 11.1
  },
  "Item": {
    "ItemId": "810b63f9-e501-446e-8c53-3bbeda7817ff",
    "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": "68727fb4-3a28-4ae4-b2a1-3f1a22d3a59c",
      "Rowid": "489cf55d-644e-4198-bebc-f97b4d9bb671",
      "pkPurchaseId": "124d38d9-298a-41af-bbc4-36aa54149561",
      "ExternalInvoiceNumber": "sample string 4",
      "fkSupplierId": "89b9bf17-39de-44af-a784-848f87c21345",
      "DateOfDelivery": "2019-06-12T09:27:52.4309109+01:00",
      "QuotedDeliveryDate": "2019-06-12T09:27:52.4309109+01:00",
      "SupplierName": "sample string 8",
      "fkLocationId": "edbcfc9d-958e-4699-af12-82b83f17273a"
    },
    "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": "758ebc3d-c3d7-4bc4-b90e-f44f4db60a53",
    "AdditionalInfo": [
      {
        "pkOptionId": "d54f8583-a831-482a-92a2-fd7149daad35",
        "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": "66068786-0316-41d6-91ec-9102de3b7766",
        "BatchId": 1,
        "OrderItemBatchId": 1
      },
      {
      }
    ],
    "InventoryTrackingType": 33,
    "isBatchedStockItem": false,
    "IsWarehouseManaged": true,
    "HasPurchaseOrders": true,
    "CanPurchaseOrderFulfil": true,
    "IsUnlinked": false,
    "RowId": "5735b2dc-17a4-4885-ae91-37e5667236cc",
    "OrderId": "1ff1f238-7bba-4ae0-a629-21059d47deda",
    "StockItemId": "729ba544-ff6c-45fc-a524-c9474b49381f"
  },
  "ItemWeight": 1.1,
  "TotalWeight": 2.1
}