Purchase Order

Delete purchase order (not currently operational)

Not currently operational. Once the caller is authorized, this endpoint attempts a soft-delete that the application cannot perform: the purchase order does not support discarding (there is no discarded_at column and no discard behaviour on the model), so the delete raises server-side and returns 500 Internal Server Error. There is no soft-delete or restore capability for purchase orders. Do not rely on this endpoint until it is fixed.

Authorization

  • Authorization is checked first (Pundit); an unauthorized caller gets a 401 with an empty body before the 500 path is reached.
delete/v1/erp/payouts/purchase_orders/{id}

Request

  • Base URL
    https://api.cardda.com
  • URL
    https://api.cardda.com/v1/erp/payouts/purchase_orders/{id}
  • Auth
    HTTP bearer

Path parameters

idstring uuid required

ID of the purchase order to delete

Parameters

#/paths/~1v1~1erp~1payouts~1rules/get/parameters/0 (unresolved $ref)

Changes

No recorded changes to this operation across all 1 revision of this API.