expand parameter to expand related resources inline.
Including Relations
Pass a comma-separated list of relation names via theexpand query parameter:
Response Format
Withoutexpand, relation fields are omitted from the response:
?expand=variants,media, the related resources are embedded:
Available Relations by Resource
Products
Categories
Countries
Collections with Includes
Theexpand 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.

