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
Name | Type | Description |
---|---|---|
purchaseId | Guid | Purchase Order ID |
The following request format is required for this method.
GET | POST https://eu-ext.linnworks.net/api/PurchaseOrder/Deliver_PurchaseItemAll_ExceptBatchItems
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
This is an example of the request structure. Results will vary depending on your data.
purchaseId=b102eb88-5cc0-42b5-aa2b-56c3fad06eee
This is an example of the response JSON. Results will vary depending on your data.
{
"poHeaderAndItems": {
"PurchaseOrderItems": [
{
"pkPurchaseItemId": "d936f3bf-5f61-4aba-9202-8169ec1aeca1",
"fkStockItemId": "ec2da419-b988-406e-9b53-692f2fdcc43f",
"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": "e9e6600d-59a2-4b76-846b-3c99a5aea004",
"fkSupplierId": "7f1c97df-7861-46ec-adac-2c303f42608c",
"fkLocationId": "ab1ec4b6-4ac9-467b-942c-cb8a273e277c",
"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.970294Z",
"DateOfDelivery": "2023-01-10T13:49:49.970294Z",
"QuotedDeliveryDate": "2023-01-10T13:49:49.970294Z",
"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"
}