Skip to main content

Delete Order Document

DELETE 

/api/purchase-orders/from-document/:id

A vendor's order sheet, a photo of it, or a trade-show market-app export becomes a reviewed DRAFT purchase order.

Required scope: purchase-orders:write

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Authentication: Requires Bearer token. Permission: purchase_orders.create. Token scope: purchase-orders:write.

Discards an extraction and its stored file. Refused with 422 when the document already created a purchase order that still exists.

Request​

Responses​

OK

Response Headers
    Content-Type