POST deliveries/book-in

Books in/Writes off items for multiple purchase orders.

Request Information

URI Parameters

None.

Body Parameters

Collection of BookInPurchaseOrderRequestModel
NameDescriptionTypeAdditional 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": "sample string 1",
        "SupplierSKU": "sample string 2",
        "BookedIn": 1,
        "WrittenOff": 1,
        "StockLocationID": 1,
        "StockLocationReference": "sample string 3",
        "ExpiryDateUtc": "2024-12-11T07:15:26.3591595+00:00",
        "BatchReference": "sample string 4"
      },
      {
        "ProductID": 1,
        "SKU": "sample string 1",
        "SupplierSKU": "sample string 2",
        "BookedIn": 1,
        "WrittenOff": 1,
        "StockLocationID": 1,
        "StockLocationReference": "sample string 3",
        "ExpiryDateUtc": "2024-12-11T07:15:26.3591595+00:00",
        "BatchReference": "sample string 4"
      }
    ]
  },
  {
    "PurchaseOrderID": 1,
    "AddReleasedOrdersOntoPickwave": true,
    "Lines": [
      {
        "ProductID": 1,
        "SKU": "sample string 1",
        "SupplierSKU": "sample string 2",
        "BookedIn": 1,
        "WrittenOff": 1,
        "StockLocationID": 1,
        "StockLocationReference": "sample string 3",
        "ExpiryDateUtc": "2024-12-11T07:15:26.3591595+00:00",
        "BatchReference": "sample string 4"
      },
      {
        "ProductID": 1,
        "SKU": "sample string 1",
        "SupplierSKU": "sample string 2",
        "BookedIn": 1,
        "WrittenOff": 1,
        "StockLocationID": 1,
        "StockLocationReference": "sample string 3",
        "ExpiryDateUtc": "2024-12-11T07:15:26.3591595+00:00",
        "BatchReference": "sample string 4"
      }
    ]
  }
]

Response Information

Resource Description

Books in/Writes off items for multiple purchase orders.

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.