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.
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.
This setting is stored per merchant, but only channel and admin tokens can change it. Merchant tokens attempting to set it receive 403 Forbidden, whether through this resource or the global feature flag endpoint.
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.
Related
How catalog rules work covers the rule types that decide what syncs and what sells.
Exclusion rules can hold specific products unpublished without changing this merchant-wide default.
Last updated
Was this helpful?