GET deliveries/{purchaseOrderID}/book-in-all

Books in all outstanding items on a single Purchase Order matching the purchase order ID provided. If using multiple stock locations this will automatically assign stock to stock locations based on stock location type, display order and whether it is empty.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
purchaseOrderID integer Required

Body Parameters

None.

Response Information

Resource Description

Books in all outstanding items on a single Purchase Order matching the purchase order ID provided. If using multiple stock locations this will automatically assign stock to stock locations based on stock location type, display order and whether it is empty.

PurchaseOrderSimpleResponse
NameDescriptionTypeAdditional information
PurchaseOrderID The StoreFeeder Purchase Order ID integer None.
PurchaseOrderReference The Purchase Order Reference string None.
Success Whether the action was successful boolean None.
Error Any errors that were received Success will always be false if an error is returned. string None.

Response Formats

application/json, text/json

Sample:
{
  "PurchaseOrderID": 1,
  "PurchaseOrderReference": "PO1",
  "Success": false,
  "Error": "An error occurred"
}

application/xml, text/xml

Sample:
<PurchaseOrderSimpleResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Success>false</Success>
  <Error>An error occurred</Error>
  <PurchaseOrderID>1</PurchaseOrderID>
  <PurchaseOrderReference>PO1</PurchaseOrderReference>
</PurchaseOrderSimpleResponse>