Skip to main content
PUT
Update Sync Rules
Replaces the full sync rule set, or opts into the legacy SaaS/ecommerce platform preset when null is sent. This is not a partial update - fetch the current rules with Get Sync Rules, edit them, and send the whole set back.

Request

syncRules
array | null
required
Full replacement rule set. Send [] to disable sync rules, or null to opt into the inherited SaaS/ecommerce platform preset. Each rule has triggerEvent, actions.addTags, actions.removeTags, and optional conditions (requiresTags, requiresNotTags, and purchasedProduct with tags, collectionIds, productTypes, or vendors for commerce events that carry products).
Tag buyers of a product tag:
Opt into the platform preset:

Responses