POST deliveries/{purchaseOrderID}/book-in
Books in/Writes off items for a single purchase order.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| purchaseOrderID | integer | Required |
Body Parameters
BookInPurchaseOrderRequestModel
| Name | Description | Type | Additional information |
|---|---|---|---|
| PurchaseOrderID | Purchase OrderID | integer | None. |
| AddReleasedOrdersOntoPickwave | boolean | None. | |
| Lines | Collection of BookInPurchaseOrderLineRequestModel | None. |
Request Formats
application/json, text/json
Sample:
{
"PurchaseOrderID": 1,
"AddReleasedOrdersOntoPickwave": true,
"Lines": [
{
"ProductID": 1,
"SKU": "My SKU 1",
"SupplierSKU": "My supplier SKU 1",
"BookedIn": 1,
"WrittenOff": 0,
"StockLocationID": 123,
"StockLocationReference": "My pickbin 1"
},
{
"ProductID": 2,
"SKU": "My FIFO SKU",
"SupplierSKU": "My supplier SKU 2",
"BookedIn": 1,
"WrittenOff": 0,
"StockLocationID": 234,
"StockLocationReference": "My pickbin 2",
"ExpiryDateUtc": "2025-11-25T00:00:00Z",
"BatchReference": "ABC123"
}
]
}
Response Information
Resource Description
Books in/Writes off items for a single purchase order.
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.