Use the suggested myshopify.com address
Sets a Shopify connector's address to the shop's `myshopify.com` domain that its last check found when the catalog listed no product on the connector's own domain (`suggestedShopDomain` in the answer of Check a connector now), as the Use action of the `catalog_empty` alert does. The address changes as it would in the connection form, and is recorded in the audit log as `connector.updated`, attributed to the API key. The connector is then checked again, without waiting for the once-a-minute limit, and the answer is that check: the alert closes at once when the new address lists products. Only search was compared on both addresses: cart, checkout links and the currency of a store with several markets are not verified on the `myshopify.com` address. To go back, set the address again in the dashboard.
ApiKeyAuthAuthorizationBearer <token>A WorkOS org-scoped API key, created from the dashboard's organization settings page. Identifies the tenant every read and write is scoped to. Missing, malformed, unknown, revoked, expired, or non-organization-owned keys all return 401 (no distinction, so the response can't be used to probe which keys or org ids exist).
connectorId*stringThe connector id (prefixed conn_), from the site's connector list or the subject of a connector_unavailable or catalog_empty alert. A connector id that isn't yours, or that was deleted, is a 404.
The address the connector now uses, and the check that followed.
application/json- response
data*curl -X POST 'https://example.com/api/v1/connectors/string/use-suggested-domain'{ "data": { "connectorId": "conn_01kvnwmagvf27rc9cze5rm9e1r", "shopDomain": "maison-bleue.myshopify.com", "answered": true, "catalogEmpty": false, "suggestedShopDomain": null, "checkedAt": "2026-11-17T12:06:00.000Z", "alertOpen": false }}Undo the acceptance of an empty catalog
Undoes the acceptance of a connector's empty catalog, as the Undo of the connector's page does. No alert opens here: the next check that finds the catalog empty opens the `catalog_empty` alert again. Recorded in the audit log as `connector.empty_catalog_acceptance_undone`, attributed to the API key.
Get a site's add-to-cart counts
Returns how many add-to-carts the site had in a period, how many belong to a session that had a conversation with the agent, and how many were made in the panel versus on the merchant's own pages, then the amounts of the add-to-carts that carry one, one row per currency and never summed across currencies, and the same counts over time. The period is two UTC calendar days, both included, up to 366 days. The series is per UTC hour on a period of two days or fewer and per UTC day beyond, every bucket present. A count is `null`, never zero, while it could not have been recorded: an origin is measured from its first recorded event, and the totals are `null` unless both origins are measured. An amount is in the currency's minor unit (2 decimals for EUR, 0 for JPY). An add-to-cart with no amount is counted and not valued, and an amount reported by a merchant's pixel is declared by that pixel and not verified. No event, session or cart id is returned. Shopify stores only. Read-only.