Archive or unarchive an order
POST/order/vendor/archive/:orderId
Toggles archival — archives an open order (recording its previous status), or restores an archived order to the status it had before archiving. Returns the updated order document.
Request
Responses
- 200
- 404
Order archived or unarchived.
Resource not found