elasticio/sphereio-api — pull request #7 by hajoeichler (2013-11-05 20:12:16+00:00)
Title: Allow to define references that should be exanded during fetch.

This change will allow to expand references defined in orders so that the full object information is returned instead of only the id of the referenced object. More details can be found at [SPHERE.IO's developer docu](http://dev.sphere.io/http-api.html#reference-expansion).

Example:
```
plain: ...?expand=shippingInfo.shippingMethod&expand=shippingInfo.shippingMethod.zoneRates[*].zone
encoded: ...?expand=shippingInfo.shippingMethod&expand=shippingInfo.shippingMethod.zoneRates%5B*%5D.zone
```