However, you can have it both ways: in the customer response, use
"invoices": "/customer/7sn2J/invoices"
However, you can have it both ways: in the customer response, use
and have the server 307 redirect to "/invoices?customer=7sn2J", or whatever you prefer.