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

ParameterTypeRequiredDescription

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

Was this article helpful?

0 out of 0 liked this article

Still need help? Message Us