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.
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.
Whether the empty catalog is accepted.
application/json- response
data*curl -X DELETE 'https://example.com/api/v1/connectors/string/accept-empty-catalog'{ "data": { "connectorId": "conn_01kvnwmagvf27rc9cze5rm9e1r", "accepted": false, "acceptedAt": null, "catalogEmpty": true }}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.
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.