Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

ShippingService

PurchaseOrder /Deliver_PurchaseItemAll_ExceptBatchItems

Allows 150 calls per minute

Response: Deliver_PurchaseOrderItemAllNoBatchResponse



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.PurchaseOrder.DeliverPurchaseOrderNode

Example Request

The following request format is required for this method.

Endpoint URL

POST https://eu-ext.linnworks.net/api/PurchaseOrder/Deliver_PurchaseItemAll_ExceptBatchItems

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=3901a5ce-f29f-4266-adb3-220d24cfc134

Response

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

{
  "poHeaderAndItems": {
    "PurchaseOrderItems": [
      {
        "pkPurchaseItemId": "c5ff0453-9f58-44b6-bd36-a8ee27b17b81",
        "fkStockItemId": "a6bd8997-8e56-40d8-a282-a41310a22e4a",
        "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": "92974e86-fac8-4128-9435-37761056bf12",
      "fkSupplierId": "6535bc52-daac-4dce-9a10-69f504149fcb",
      "fkLocationId": "b792cd1f-b225-4114-a6e5-8ca56b006812",
      "ExternalInvoiceNumber": "sample string 4",
      "Status": 0,
      "Currency": "sample string 5",
      "SupplierReferenceNumber": "sample string 6",
      "Locked": true,
      "LineCount": 8,
      "DeliveredLinesCount": 9,
      "UnitAmountTaxIncludedType": 10,
      "DateOfPurchase": "2021-07-29T09:24:43.3072827Z",
      "DateOfDelivery": "2021-07-29T09:24:43.3072827Z",
      "QuotedDeliveryDate": "2021-07-29T09:24:43.3072827Z",
      "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
    }
  },
  "allItemsDelivered": true,
  "message": "sample string 2"
}