Shop.app

List Shop.app shop locations

Returns the public retail locations of a Shop.app merchant by shop handle, up to limit (default 10, max 50). Each location has its id, name, latitude and longitude, and street address; the response also carries the total count and a cursor for the next page. A shop with no public retail locations returns an error.

get/shop-app/shops/{handle}/locations

Request

  • Base URL: https://api.crawlora.net/api/v1
  • URL: https://api.crawlora.net/api/v1/shop-app/shops/{handle}/locations
  • Auth: API key in header x-api-key

Path parameters

handlestring required

Shop handle

Query parameters

limitinteger

Maximum locations, defaults to 10 and supports up to 50

Headers

x-api-keystring required

API key required

Response

OK

codeinteger
msgstring

Example response

{
  "code": 200,
  "data": {
    "limit": 10,
    "locations": [
      {
        "address": {
          "address1": "175b Mott Street",
          "city": "New York",
          "country": "US",
          "postal_code": "10012",
          "zone_code": "NY"
        },
        "id": "gid://shopify/Location/78620459087",
        "latitude": 40.7205232,
        "longitude": -73.9961032,
        "name": "NYC"
      }
    ],
    "shop_handle": "marcnolan",
    "shop_id": "186720",
    "total_count": 2
  },
  "msg": "OK"
}

Changes

No recorded changes to this operation across all 2 revisions of this API.