Skip to main content
By default, the Store API returns only the primary resource attributes to keep responses fast and lightweight. Use the expand parameter to expand related resources inline.

Including Relations

Pass a comma-separated list of relation names via the expand query parameter:

Response Format

Without expand, relation fields are omitted from the response:
With ?expand=variants,media, the related resources are embedded:

Available Relations by Resource

Products

Categories

Countries

Collections with Includes

The expand parameter also works on collection endpoints:

Nested Includes

Use dot notation to include nested relations:
Only include relations you actually need. Each included relation requires additional database queries, so requesting unnecessary relations will slow down the response.