GET purchase-orders/{purchaseOrderID}/confirm

Confirms a Purchase Order that is awaiting completion as 'Confirmed by Supplier'

Request Information

URI Parameters

NameDescriptionTypeAdditional information
purchaseOrderID The ID of the Purchase Order integer Required

Body Parameters

None.

Response Information

Resource Description

Confirms a Purchase Order that is awaiting completion as 'Confirmed by Supplier'

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>