Given order cancelling as a requirement, what is the best design option of representing this operation in RESTful way and why?
I can think at least of the following
- PUT
/orders/{id}/cancelled(with an empty body) - PUT
/orders/{id}(with an entire order JSON/XML/etc with changed attributecancelled)