Skip to main content
DELETE
/
api
/
v1
/
purchase-orders
/
direct-cost
/
{document_id}
Delete Purchase Order
curl --request DELETE \
  --url https://api.example.com/api/v1/purchase-orders/direct-cost/{document_id} \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "message": "<string>",
  "deletedId": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.vinmake.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

document_id
string
required

The PO document ID

Response

Successful Response

Response after deleting a Purchase Order

success
boolean
required
message
string
required
deletedId
string
required