Orders

AddOrderItem

Add an item to a specific order. Line pricing is optional with the default values being

  • PricePerUnit: Stock item retail price
  • DiscountPercentage: 0
  • TaxRatePercentage: Stock item tax rate.
  • TaxInclusive: true <b>Rate limit: </b><span style="background-color:#0272d9;color:white;padding:4px 8px;text-align:center;border-radius:5px; font-size: small;"><b>250</b></span> / minute
post/api/Orders/AddOrderItem

Request

  • Base URL
    https://eu-ext.linnworks.net
  • URL
    https://eu-ext.linnworks.net/api/Orders/AddOrderItem
  • Auth
    API key in header Authorization

Request body

orderIdstring uuid

Order id

itemIdstring uuid

Item id to be added

channelSKUstring

Channel SKU of the item

fulfilmentCenterstring uuid

Current fulfilment center

quantityinteger

Item quantity

createdDatestring date-time

The datetime that the item was added to the order

Example request

{
  "orderId": "00000000-0000-0000-0000-000000000000",
  "itemId": "00000000-0000-0000-0000-000000000000",
  "fulfilmentCenter": "00000000-0000-0000-0000-000000000000"
}

Response

OK

ItemWeightnumber double

Order item weight

TotalWeightnumber double

Order total weight

Example response

{
  "TotalsInfo": {
    "PaymentMethodId": "00000000-0000-0000-0000-000000000000"
  },
  "Item": {
    "ItemId": "00000000-0000-0000-0000-000000000000",
    "OnPurchaseOrder": {
      "pkPurchaseItemId": "00000000-0000-0000-0000-000000000000",
      "Rowid": "00000000-0000-0000-0000-000000000000",
      "pkPurchaseId": "00000000-0000-0000-0000-000000000000",
      "fkSupplierId": "00000000-0000-0000-0000-000000000000",
      "fkLocationId": "00000000-0000-0000-0000-000000000000"
    },
    "ImageId": "00000000-0000-0000-0000-000000000000",
    "AdditionalInfo": [
      {
        "pkOptionId": "00000000-0000-0000-0000-000000000000"
      }
    ],
    "BinRacks": [
      {
        "Location": "00000000-0000-0000-0000-000000000000"
      }
    ],
    "Boxes": [
      {
        "PackagingTypeId": "00000000-0000-0000-0000-000000000000"
      }
    ],
    "RowId": "00000000-0000-0000-0000-000000000000",
    "OrderId": "00000000-0000-0000-0000-000000000000",
    "StockItemId": "00000000-0000-0000-0000-000000000000"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.