Create or Replace Exclusion Rule
Creates or replaces the exclusion rule for a given key. The dimension must be 'tags' or 'vendors'; the key is URL-encoded. Note: excluded and unpublished are mutually exclusive — setting one to true clears the other.
Path parameters
merchant_idinteger · int32Required
dimensionstringRequired
'tags' or 'vendors'
keystringRequired
The tag or vendor name (URL-encoded)
Header parameters
X-Violet-TokenstringRequired
X-Violet-App-SecretstringRequired
X-Violet-App-Idinteger · int32Required
Body
Exclusion rules for the merchants catalog.
excludedbooleanOptional
unpublishedbooleanOptional
Responses
200
The created or replaced exclusion rule.
application/json
Exclusion rules for the merchants catalog.
excludedbooleanOptional
unpublishedbooleanOptional
put/merchants/{merchant_id}/catalog-rules/exclusions/{dimension}/{key}
200
The created or replaced exclusion rule.
Last updated
Was this helpful?