Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

PurchaseOrder /Deliver_PurchaseItemAll

Allows 150 calls per minute

Response: Deliver_PurchaseOrderItemAllResponse



Update purchase order item, quantity, cost, pack size, pack quantity, in PENDING order only. Returns class that represents modified/recalculated purchase order header and modified purchase order item line

Parameters

NameTypeDescription
purchaseIdGuidPurchase Order ID

Permissions

GlobalPermissions.Inventory.PurchaseOrder.DeliverPurchaseOrderNode

Example Request

The following request format is required for this method.

Endpoint URL

GET | POST https://eu-ext.linnworks.net/api/PurchaseOrder/Deliver_PurchaseItemAll

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.

purchaseId=2fb36b54-febc-493d-a9a0-eeaaedb483ec

Response

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

{
  "PurchaseOrderItems": [
    {
      "pkPurchaseItemId": "885a5c1e-cd58-43f4-8fb6-6da3cbb319a9",
      "fkStockItemId": "f5b45126-5244-4baa-82b3-2dde8c66faca",
      "StockItemIntId": 3,
      "Quantity": 4,
      "Cost": 5.0,
      "Delivered": 6,
      "TaxRate": 7.0,
      "Tax": 8.0,
      "PackQuantity": 9,
      "PackSize": 10,
      "SKU": "sample string 11",
      "ItemTitle": "sample string 12",
      "InventoryTrackingType": 13,
      "IsDeleted": true,
      "SortOrder": 15,
      "DimHeight": 16.0,
      "DimWidth": 17.0,
      "BarcodeNumber": "sample string 18",
      "DimDepth": 19.0,
      "BoundToOpenOrdersItems": 20,
      "BinRack": "sample string 21",
      "QuantityBoundToOpenOrdersItems": 22,
      "SupplierCode": "sample string 24",
      "SupplierBarcode": "sample string 25",
      "SkuGroupIds": [
        1
      ]
    }
  ],
  "PurchaseOrderHeader": {
    "pkPurchaseID": "612ca60b-3f7c-4355-a6d4-41ccac9c2a6d",
    "fkSupplierId": "95f51b0d-b8bd-46ba-b9be-29bc54a6f68e",
    "fkLocationId": "712eaa33-4a19-4461-83b8-fe5e20d6a0f9",
    "ExternalInvoiceNumber": "sample string 4",
    "Status": 0,
    "Currency": "sample string 5",
    "SupplierReferenceNumber": "sample string 6",
    "Locked": true,
    "LineCount": 8,
    "DeliveredLinesCount": 9,
    "UnitAmountTaxIncludedType": 10,
    "DateOfPurchase": "2023-01-10T13:49:49.9772709Z",
    "DateOfDelivery": "2023-01-10T13:49:49.9772709Z",
    "QuotedDeliveryDate": "2023-01-10T13:49:49.9772709Z",
    "PostagePaid": 4.0,
    "TotalCost": 5.0,
    "taxPaid": 6.0,
    "ShippingTaxRate": 7.0,
    "ConversionRate": 8.0,
    "ConvertedShippingCost": 9.0,
    "ConvertedShippingTax": 10.0,
    "ConvertedOtherCost": 11.0,
    "ConvertedOtherTax": 12.0,
    "ConvertedGrandTotal": 13.0
  }
}