GET purchase-orders/{purchaseOrderID}/mark-as-sent
Marks a specific Purchase Order as having been sent
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
purchaseOrderID | The ID of the Purchase Order | integer | Required |
Body Parameters
None.
Response Information
Resource Description
Marks a specific Purchase Order as having been sent
PurchaseOrderSimpleResponseName | Description | Type | Additional 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>