Return a reopened purchase order to its prior status
POST/purchase-orders/:code/return-to-prior
Returns a reopened purchase order (RECEIVED) to the status it held before reopen (epic dashboard#3250, sub-task 3)
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 409
- 429
- 500
Purchase order returned to prior status
Bad request - code missing
Unauthorized
Caller is not the purchase request owner
Purchase order not found
Purchase order is not reopened
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