Magento REST icon

Magento REST

Consume Magento REST API

Store → Get Websites

AI-generated

Summary

Gets all websites from the Magento store

Inputs

  • simplifyOutput — When enabled, flattens the response structure. Converts custom_attributes array to an object, flattens extension_attributes, and simplifies nested structures.

Output shape

object

Returns the Magento API response from GET /rest/V1/store/websites. If simplifyOutput is true, each website item has custom_attributes converted to an attributes object and extension_attributes flattened.

Examples

Example 1: Fetch all websites with simplified output

Set operation to Get Websites, resource to Store, and enable Simplify Output.

Links

Discussion