Magento REST icon

Magento REST

Consume Magento REST API

Store → Get Store Views

AI-generated

Summary

Get Store Views (magentoRest, Store, getStoreViews)

Inputs

None.

Output shape

array

Each item is a store view object from Magento, optionally flattened when simplifyOutput is true.

Examples

Example 1: List all store views to populate a dropdown

Leave simplifyOutput disabled; use the returned array to show store view names and codes.

Links

Discussion