editPurchaseDocHeader
POST/purchase-docs/headers/:headerId/edit
Creates an edit draft of a released purchase document header. The edit draft allows modifying
a document that is already in Released state. Once the edit draft is published via the
/publish endpoint, and if an approval workflow is configured for the document type, the
document transitions to PendingUpdate status until the approver acts on the workflow step.
To access the service you need at least one of the following permissions:
| Permission (one of) |
|---|
| updatePurchaseOrder |