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

Offer publishing and visibility

Two settings on the catalog settings resource control what happens to a merchant's offers as they sync: whether they publish automatically, and whether their visibility is forced on.

Publish offers automatically

auto_publish_offers controls whether offers go live as soon as they sync.

  • Enabled: offers are published as soon as they are created or updated by a sync, so they go live without further action.

  • Disabled: offers still sync but stay unpublished until someone publishes them. Use this when a review step is wanted before new products can be sold.

The default is enabled: a merchant with no explicit value for this setting auto-publishes. The exception is merchants who connect through an app configured to keep new offers unpublished by default. They start with this setting disabled, whatever their platform.

To keep specific tags or vendors unpublished while everything else auto-publishes, use an exclusion rule with unpublished instead of turning auto-publishing off for the whole merchant.

Offer visibility override

truify_offer_visibility forces every offer for the merchant to be visible each time the catalog syncs, overriding whatever visibility the merchant set on their platform. It applies at sync time, so it re-applies on every sync.

Updating the settings

Both settings support partial updates:

PATCH /merchants/{merchant_id}/catalog-settings
Content-Type: application/merge-patch+json
{
  "auto_publish_offers": false
}

Field definitions and the read endpoint are in Merchant Configuration Resources.

Last updated

Was this helpful?