Remove item from an order
Name | Type | Description |
---|---|---|
orderId | Guid | Order id |
rowid | Guid | Row id of the item |
fulfilmentCenter | Guid | Fulfilment center id |
The following request format is required for this method.
GET | POST https://eu-ext.linnworks.net/api/Orders/RemoveOrderItem
Connection: keep-alive
Accept: application/json
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Accept-Encoding: gzip, deflate
Authorization: INSERT_YOUR_TOKEN_HERE
This is an example of the request structure. Results will vary depending on your data.
orderId=10b06804-7ebd-482a-9e12-902de7154662&rowid=0761d65c-e58f-4a04-9f9f-60904c94e648&fulfilmentCenter=1530ac7c-45dc-48e5-bf66-0baf82e31170
This is an example of the response JSON. Results will vary depending on your data.
{
"TotalsInfo": {
"Subtotal": 2.1,
"PostageCost": 3.1,
"PostageCostExTax": 4.1,
"Tax": 5.1,
"TotalCharge": 6.1,
"PaymentMethod": "sample string 7",
"PaymentMethodId": "f5046500-df9c-4d7c-92fc-71a9d1184346",
"ProfitMargin": 9.1,
"TotalDiscount": 10.1,
"Currency": "sample string 11",
"CountryTaxRate": 12.1,
"ConversionRate": 13.1
},
"Item": {
"ItemId": "4ca98001-cff9-4414-beff-a60139d06b01",
"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": "79ed7cca-0358-42bb-8dd8-593848641467",
"Rowid": "233bd0f4-56bd-4532-82b1-a05a3b335b4e",
"pkPurchaseId": "3dd5483c-924b-414e-b2ec-34e783775057",
"ExternalInvoiceNumber": "sample string 4",
"fkSupplierId": "8539ecac-7315-4e7f-87ed-520fd9731319",
"DateOfDelivery": "2023-01-10T13:49:54.3245641+00:00",
"QuotedDeliveryDate": "2023-01-10T13:49:54.3245641+00:00",
"SupplierName": "sample string 8",
"fkLocationId": "484f9c24-6d27-4224-a89a-58e1e63e2eb7"
},
"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": "c84b99bf-aa83-4eb8-983c-f57486b2e3ab",
"AdditionalInfo": [
{
"pkOptionId": "17cb02fb-8ad9-43d8-b2a8-672861c6f869",
"Property": "sample string 2",
"Value": "sample string 3"
}
],
"StockLevelIndicator": 29,
"ShippingCost": 30.1,
"PartShippedQty": 31,
"ItemName": "sample string 32",
"BatchNumberScanRequired": true,
"SerialNumberScanRequired": true,
"BinRack": "sample string 35",
"BinRacks": [
{
"Quantity": 1,
"BinRack": "sample string 2",
"Location": "d850ddd7-068b-4372-a751-f4f6a1f40fd9",
"BatchId": 1,
"OrderItemBatchId": 1
}
],
"InventoryTrackingType": 36,
"isBatchedStockItem": false,
"IsWarehouseManaged": true,
"IsUnlinked": false,
"StockItemIntId": 39,
"Boxes": [
{
"BoxId": 1,
"StockItemIntId": 2,
"BoxName": "sample string 3",
"Width": 4.0,
"Height": 5.0,
"Length": 6.0,
"Weight": 7.0,
"ValuePercentage": 8.0,
"Barcode": "sample string 9",
"PackagingTypeId": "545eaaf6-d885-4a37-b2a9-361364668b9f",
"LogicalDelete": true
}
],
"RowId": "f0a4b613-0a17-4676-b424-1f1be9ef0675",
"OrderId": "f21ee328-8af7-4fa2-b424-5efb6b194c36",
"StockItemId": "a8cb63fc-4620-4a78-86bc-7bfb85053b0d"
},
"ItemWeight": 1.1,
"TotalWeight": 2.1
}