Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

ShippingService

PurchaseOrder /Deliver_PurchaseItem

Allows 250 calls per minute

Response: Update_PurchaseOrderItemResponse



Deliver purchase order item. This will affect current stock level according to the delivered quantity.
You can specify the total number of delivered items. If all items are delivered, the purchase order status will be changed to delivered

Parameters

NameTypeDescription
deliverItemParameterDeliver_PurchaseItemParameterClass that represents parameters for Deliver Purchase Item

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_PurchaseItem

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.

deliverItemParameter={
  "BatchNumber": "sample string 1",
  "BinRack": "sample string 2",
  "PrioritySequence": 3,
  "BatchStatus": "sample string 4",
  "pkPurchaseId": "ff5c279b-24ac-480f-894f-b4bbf4bff013",
  "pkPurchaseItemId": "6ac5bb5f-9e64-4026-b0a1-5ba5f9dee7c7",
  "Delivered": 1,
  "AddToDelivered": 1
}

Response

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

{
  "NewPurchaseOrderItem": {
    "pkPurchaseItemId": "123d3dbc-1c59-4474-a5c3-a0ae286a9372",
    "fkStockItemId": "ef139f84-0247-4fe6-b8f0-ecd5d55700cc",
    "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": "f6d72e19-370e-433b-bf5a-d2454a2cc791",
    "fkSupplierId": "5713f351-0624-423a-9b3c-5d1d1668615c",
    "fkLocationId": "e0d1b221-2331-422a-b82b-c4e21ef98150",
    "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.3152216Z",
    "DateOfDelivery": "2021-07-29T09:24:43.3152216Z",
    "QuotedDeliveryDate": "2021-07-29T09:24:43.3152216Z",
    "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
  },
  "BatchInventoryId": 1
}