I agree, that having something like the following is important:

/customers/{id}/oders

It would be even better if multiple wildcards are supported:

/customers/{id}/{someType}

(where type can be anything... e.g. orders invoices addresses etc)

like in vert.x's RouteMatcher:

rm.post("/applications/:key/:variant"......
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira