Skip to main content

Expanding Resources

Expanding resources

Some resources allow to request additional information as an expanded resource by using the expands request parameter. This parameter is available on all GET REST API requests and applies to the response of that request only.

In many cases, an object contains a related object in its response properties. For example, an Orderitem may have an associated Product id. Those objects can be expanded inline with the expands request parameter.

Expand parameterDescription
orderItemsexpands the order resource with orderItems
orderItems.productexpands the orderItems resource with the product resource
translationexpands translated fields for all available languages.
inventoryBalanceexpands all inventory resources for a product
defaultProductexpand the cluster or option resource with the default product resource