Using the API to fetch store data from Mapstore
Get Store Locations
Returns a paginated list of active store locations for your Shopify store.
Security
- The API can only be called from your Shopify store domain (*.myshopify.com)
- Requests from unauthorized domains will receive a 403 error
Query Parameters
Parameter | Type | Required | Description |
Response Format
Returns a JSON array of location objects with the following properties:
Example Request
Notes
- Results are paginated with 50 items per page
- Only active locations (status = true) are returned
- Results are sorted by creation date in descending order
- Response includes Cache-Control headers for optimal performance
Error Responses
- 400: Missing shop parameter
- 403: Unauthorized domain
- 405: Method not allowed (only GET is supported)
- 500: Server error