POST purchase-orders/delete

Bulk deletes all Purchase Orders sent in the request

Request Information

URI Parameters

None.

Body Parameters

Collection of PurchaseOrderSimpleRequestModel
NameDescriptionTypeAdditional information
PurchaseOrderID Purchase Order ID integer None.

Request Formats

application/json, text/json

Sample:
[
  {
    "PurchaseOrderID": 1
  },
  {
    "PurchaseOrderID": 1
  }
]

application/xml, text/xml

Sample:
<ArrayOfPurchaseOrderSimpleRequestModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <PurchaseOrderSimpleRequestModel>
    <PurchaseOrderID>1</PurchaseOrderID>
  </PurchaseOrderSimpleRequestModel>
  <PurchaseOrderSimpleRequestModel>
    <PurchaseOrderID>1</PurchaseOrderID>
  </PurchaseOrderSimpleRequestModel>
</ArrayOfPurchaseOrderSimpleRequestModel>

Response Information

Resource Description

Bulk deletes all Purchase Orders sent in the request

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>