Hi Stian,

> > More detail. We have three operations on an invoice (that is created
> > elsewhere).
> > 1. Get invoice (GET)
> > 2. Compute canceled invoice and return the savings
> > 3. Cancel invoice
> 
> How would it be visible in the resource that it has been cancelled  
> afterwards?  Can't you POST or PUT to that sub-resource?

This is what we eventually settled on. 

POST /orders/invoices/{invoiceId}/cancelled

Thanks for your comment as it gives me some confidence in our choice.

Sean



Reply via email to