Skip to navigation

Update connected site

Update a connected site. Only list_id can be updated. If the Mailchimp tracking pixel is enabled, its settings are refreshed to use the new list. If that refresh fails, the list_id change is kept and an error is returned; retrying the request is safe.

Authentication

AuthorizationBearer

The legacy Mailchimp OAuth 2.0 provider, as described in our developer documentation at Legacy OAuth 2 apps.

OR
AuthorizationBearer

A legacy Mailchimp API key, as described in our developer documentation at API keys.

OR
AuthorizationBearer

The Mailchimp OAuth 2.0 provider, as described in our developer documentation at OAuth 2. This OAuth 2.0 provider requires PKCE.

OR
AuthorizationBearer

A scoped Mailchimp API key, as described in our developer documentation at API keys.

Path parameters

connected_site_idstringRequired
The unique identifier for the site.

Request

Information about a specific connected site.
list_idstringRequired

The unique identifier for the list associated with the connected site. Required before enabling the Mailchimp tracking pixel. Can only be set for connected sites that aren’t linked to an e-commerce store.

Response

created_atdatetimeOptionalRead-only
The date and time the connected site was created in ISO 8601 format.
domainstringOptionalRead-only
The connected site domain.
foreign_idstringOptionalRead-only
The unique identifier for the site.
is_pixel_enabledbooleanOptionalRead-only
Whether the Mailchimp tracking pixel is enabled for this connected site.
list_idstringOptionalRead-only
The unique identifier for the list associated with the connected site, if any. Required before enabling the Mailchimp tracking pixel.
platformstringOptionalRead-only
The platform of the connected site.
site_scriptobjectOptionalRead-only
The script used to connect your site with Mailchimp.
store_idstringOptionalRead-only

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_atdatetimeOptionalRead-only
The date and time the connected site was last updated in ISO 8601 format.