connected-sites

Get connected site

Get information about a specific connected site.

get/3.0/connected-sites/{connected_site_id}

Request

Path parameters

connected_site_idstring required

The unique identifier for the site.

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.

Response

created_atstring date-time

The date and time the connected site was created in ISO 8601 format.

domainstring

The connected site domain.

foreign_idstring

The unique identifier for the site.

platformstring

The platform of the connected site.

store_idstring

The unique identifier for the ecommerce store that's associated with the connected site (if any). The store_id for a specific connected site can't change.

updated_atstring date-time

The date and time the connected site was last updated in ISO 8601 format.

Example response

{
  "created_at": "2015-07-15T19:28:00+00:00",
  "domain": "example.myshopify.com",
  "foreign_id": "a180c384d7db88b if created in-app, MC001 if created via API",
  "platform": "shopify, magento, bigcommerce, woocommerce",
  "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"
  },
  "store_id": "MC001",
  "updated_at": "2015-07-15T19:35:00+00:00"
}

Changes

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