Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

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

Example Request

The following request format is required for this method.

Get

Endpoint URL

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

GET https://eu-ext.linnworks.net/api/PurchaseOrder/Deliver_PurchaseItemAll_ExceptBatchItems?purchaseId=d889de12-d53a-4a5a-a22a-2d6fb3115e07

Headers

Connection: keep-alive
Accept: application/json
Accept-Encoding: gzip, deflate
Authorization: INSERT_YOUR_TOKEN_HERE

Post

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=d889de12-d53a-4a5a-a22a-2d6fb3115e07

Response

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

{
  "poHeaderAndItems": {
    "PurchaseOrderItems": [
      {
        "pkPurchaseItemId": "21bb59a9-1540-4e39-b377-34da0360ccb4",
        "fkStockItemId": "b5589170-b827-4afa-929d-2303311f07de",
        "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": "1a339694-a230-4d78-bf33-7f60fc762bff",
      "fkSupplierId": "7786a88d-b0ae-4146-b6fe-e6f88b19b963",
      "fkLocationId": "789fd14a-13dd-48f2-a27e-571d72eb3fe3",
      "ExternalInvoiceNumber": "sample string 4",
      "Status": 0,
      "Currency": "sample string 5",
      "SupplierReferenceNumber": "sample string 6",
      "Locked": true,
      "LineCount": 8,
      "DeliveredLinesCount": 9,
      "UnitAmountTaxIncludedType": 10,
      "DateOfPurchase": "2022-01-13T12:45:46.4230219Z",
      "DateOfDelivery": "2022-01-13T12:45:46.4230219Z",
      "QuotedDeliveryDate": "2022-01-13T12:45:46.4230219Z",
      "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"
}