Skip to Content
iAdvizeDocs

Accept a connector's empty catalog

Accepts that a connector's catalog lists no product, for a store that is really empty or not launched yet: the Ignore action of the `catalog_empty` alert in the dashboard. A member never dismisses an alert, so this records a decision on the connector: its open `catalog_empty` alert closes with `catalog_accepted`, and none opens while the acceptance holds. The first check that lists a product ends the acceptance by itself, so a later empty catalog alerts again. Accepting an already accepted catalog keeps the first time. Recorded in the audit log as `connector.empty_catalog_accepted`, attributed to the API key.

POST
/api/v1/connectors/{connectorId}/accept-empty-catalog

Authorization

ApiKeyAuth
headerAuthorizationBearer <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).

Path Parameters

connectorId*string

The 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.

Response Body

Whether the empty catalog is accepted.

application/json
  1. response
data*
Example Request
curl -X POST 'https://example.com/api/v1/connectors/string/accept-empty-catalog'
Example Response
{  "data": {    "connectorId": "conn_01kvnwmagvf27rc9cze5rm9e1r",    "accepted": true,    "acceptedAt": "2026-11-17T12:05:00.000Z",    "catalogEmpty": true  }}

Check a connector now

Runs the check of a connector now, as the Check now button of the connector's page does: The agent connects to the connector, lists its tools, makes one catalog request for the connector types that have a verified one (Shopify and Adobe Commerce), records the outcome, and opens or closes the connector's alerts as the hourly check would. `connector_unavailable` opens at the second check in a row that gets no answer, counting the hourly ones. A Shopify catalog search that lists no product, even after one more search that includes out-of-stock items, is an answer with an empty catalog (`catalogEmpty`): it opens the `catalog_empty` warning unless a member accepted the empty catalog, and the check then looks for the shop's `myshopify.com` address that lists products (`suggestedShopDomain`). A check that lists products closes both alerts. The answer never carries the server's error text, the connector's stored URL or a token. A connector can be checked once a minute, counting the hourly check: a second request inside that minute is refused with `429` and a `Retry-After` header, and the connector is not called. A connector that no hourly check covers (no live agent uses it) can still be checked, and its outcome never opens an alert. It changes no setting, so it records no audit entry.

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.