For the complete documentation index, see llms.txt. This page is also available as Markdown.

Exclusion rules

An exclusion rule controls whether products matching a tag or vendor sync into the catalog at all. It acts during sync, before an offer exists: read How catalog rules work first if you have not.

The two effects

Field
What it does

excluded

Matching products stop syncing into the catalog. A product dropped this way never becomes an offer, so no other rule or setting applies to it.

unpublished

Matching products still sync, but stay unpublished.

excluded and unpublished are mutually exclusive: setting one to true automatically clears the other.

Exclusion takes effect as products sync

This is the most common surprise with exclusion rules. Adding a tag rule reads like "remove these products from the catalog," and that is not what happens: it only stops matching products from syncing in from now on.

Products that already synced

If products already in the catalog need to come out now, contact the Violet team. Cleanup of previously synced products is handled by Violet support today; there is no API or self-serve path for it.

If the goal is only to stop the products from being purchased, a tag-based availability rule with available: false applies to products already in the catalog as they next sync.

Writes replace the whole rule

Example

Stop products tagged discontinued from syncing into the catalog from now on:

Or let products from a vendor keep syncing while staying unpublished until someone publishes them:

Delete a rule to stop it applying to future syncs:

Endpoint details are in Merchant Configuration Resources.

Last updated

Was this helpful?