Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

ShippingService

Orders /UpdateOrderItem

Allows 150 calls per minute

Response: UpdateOrderItemResult



Update an order item

Parameters

NameTypeDescription
orderIdGuidOrder id
orderItemOrderItemThe order item to be updated
fulfilmentCenterGuidCurrent fulfilment center
sourceStringSource
subSourceString

Example Request

The following request format is required for this method.

Endpoint URL

POST https://eu-ext.linnworks.net/api/Orders/UpdateOrderItem

Headers

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

Request Body

This is an example of the request structure. Results will vary depending on your data.

orderId=0c004eff-e720-4ba2-981b-c540abef9c6a&fulfilmentCenter=c1d891d5-f2cd-4949-b41b-c703d8ca38ad&source=sample string 1&subSource=sample string 1

Response

This is an example of the response JSON. Results will vary depending on your data.

{
  "TotalsInfo": {
    "Subtotal": 2.1,
    "PostageCost": 3.1,
    "Tax": 4.1,
    "TotalCharge": 5.1,
    "PaymentMethod": "sample string 6",
    "PaymentMethodId": "50057a43-dc96-4550-87fa-c736ef31fd05",
    "ProfitMargin": 8.1,
    "TotalDiscount": 9.1,
    "Currency": "sample string 10",
    "CountryTaxRate": 11.1,
    "ConversionRate": 12.1
  },
  "Item": {
    "ItemId": "2df5ca6f-dcdd-43ca-81c6-957de03670a3",
    "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": "4dd059bb-0b45-4141-a782-57c26556a155",
      "Rowid": "bdb7dfda-a39d-4617-ad25-d5e451abd571",
      "pkPurchaseId": "5a8b8fab-a3f3-49b8-a4ea-38d52b2ea3a7",
      "ExternalInvoiceNumber": "sample string 4",
      "fkSupplierId": "b66ff806-1991-4b10-87be-f35c39a7267a",
      "DateOfDelivery": "2021-07-29T09:24:51.6108625+01:00",
      "QuotedDeliveryDate": "2021-07-29T09:24:51.6108625+01:00",
      "SupplierName": "sample string 8",
      "fkLocationId": "875ee488-6888-4cd0-9196-213acc8c94c4"
    },
    "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": "28f95b00-0b74-4d37-be9c-49c799afa6e9",
    "AdditionalInfo": [
      {
        "pkOptionId": "e4609bad-e256-4ddd-b55e-5a7c38930eaa",
        "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": "568a7f59-d541-415b-861f-d8047c99ffbd",
        "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": "45e93fee-9f2f-49a6-96b0-afa063f51e06",
        "LogicalDelete": true
      }
    ],
    "RowId": "082bcb89-5eb3-4fd1-b641-5d1a1b7b76d6",
    "OrderId": "d165a829-7582-45f7-a6ca-4058cb70dd1d",
    "StockItemId": "1eb2e479-23f7-4e92-80cf-e08d62b195d8"
  },
  "ItemWeight": 1.1,
  "TotalWeight": 2.1
}