Reopen a terminal purchase order for credit-note attachment
POST/purchase-orders/:code/reopen
Reopens a COMPLETED or CANCELED purchase order so a credit note can attach, capturing the prior status for later return (epic dashboard#3250, sub-task 3)
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 409
- 429
- 500
Reopened purchase order
Bad request - code missing
Unauthorized
Caller is not the purchase request owner
Purchase order not found
Not a terminal status, or canceled with no booked invoice
Too many requests - rate limited by the API firewall; wait out the Retry-After delay before retrying
Response Headers
Retry-After
Delay in seconds a client must wait before retrying the request
Internal server error