ecommerce

List stores

Get information about all stores in the account.

get/3.0/ecommerce/stores

Request

Query parameters

fieldsstring[]

A comma-separated list of fields to return. Reference parameters of sub-objects with dot notation.

exclude_fieldsstring[]

A comma-separated list of fields to exclude. Reference parameters of sub-objects with dot notation.

countinteger

The number of records to return. Default value is 10. Maximum value is 1000

offsetinteger

Used for pagination, this is the number of records from a collection to skip. Default value is 0.

Response

total_itemsinteger

The total number of items matching the query regardless of pagination.

Example response

{
  "stores": [
    {
      "address": {
        "address1": "675 Ponce de Leon Ave NE",
        "address2": "Suite 5000",
        "city": "Atlanta",
        "country": "United States",
        "country_code": "US",
        "latitude": 45.427408,
        "longitude": -75.68903,
        "postal_code": "30308",
        "province": "Georgia",
        "province_code": "GA"
      },
      "automations": {
        "abandoned_browse": {
          "id": "355a72bfc3",
          "status": "sending"
        },
        "abandoned_cart": {
          "id": "355a72bfc3",
          "status": "sending"
        }
      },
      "connected_site": {
        "site_foreign_id": "a180c384d7db88b if created in-app, MC001 if created via API",
        "site_script": {
          "fragment": "<script id=\"mcjs\">!function(c,h,i,m,p){m=c.createElement(h),p=c.getElementsByTagName(h)[0],m.async=1,m.src=i,p.parentNode.insertBefore(m,p)}(document,\"script\",\"https://chimpstatic.com/mcjs-connected/js/users/{user-hash}/{site-hash}.js\");</script>",
          "url": "https://chimpstatic.com/mcjs-connected/js/users/{user-hash}/{site-hash}.js"
        }
      },
      "created_at": "2015-07-15T19:28:00+00:00",
      "currency_code": "USD",
      "domain": "example.com",
      "email_address": "freddie@mailchimp.com",
      "id": "example_store",
      "list_id": "1a2df69511",
      "money_format": "$",
      "name": "Freddie's Cat Hat Emporium",
      "phone": "+16155550128",
      "primary_locale": "fr",
      "timezone": "Eastern",
      "updated_at": "2015-07-15T19:28:00+00:00"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.