Delete Purchase Order

DELETE /api/.../purchaseorders/{id}

Delete Purchase Order.

Request Information

Parameters
Name Type Required Description
id Integer Yes The unique id assigned to the purchase order.

Response Information

True is returned upon success.

Example
application/json, text/json
    true
    

HTTP Response Codes

Code Description
200 OK. Success
400 FAILURE.
  • Bad request
  • Invalid purchase order ID
404 FAILURE.
  • Purchase order not found

Required Permissions

Permission IDs found here.

    CR_AccessAcquisitions_Allow (),
    CR_PurchaseOrders_Access (based on owner ID),
    CR_PurchaseOrders_Delete (based on owner ID)
    Similar to staff client, additional permission CR_PurchaseOrders_DeleteCancelledOrder (based on owner ID) was checked for single segment deletion.