Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

ShippingService

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

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=60a75be3-fc70-4918-bc86-acfc63c88a88

Response

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

{
  "PurchaseOrderItems": [
    {
      "pkPurchaseItemId": "b5ac28ce-6eb8-47a8-8bc5-d93dd66bfb2f",
      "fkStockItemId": "fc8c01b8-54a2-423f-95e2-bce631de9038",
      "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": "8be30a34-8e17-4c08-9ec2-6d9221f71368",
    "fkSupplierId": "eb4c8d75-7f48-44c5-b71b-7b9d14df9b4e",
    "fkLocationId": "bf0e03a2-80e6-4aee-a93c-6b5822db19e9",
    "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.3122142Z",
    "DateOfDelivery": "2021-07-29T09:24:43.3122142Z",
    "QuotedDeliveryDate": "2021-07-29T09:24:43.3122142Z",
    "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
  }
}