Skip to main content
Version: Next

replaceDocRuleMarketplaces

PATCH 

/doc-rules/:docRuleId/marketplaces

Fully replaces the set of marketplaces on which the DocRule is active with the set provided in the request body. An empty list clears all marketplace associations. Each item carries the marketplaceId; at least one marketplace is required to publish the rule. Marketplaces to select come from the global listMarketplaces service. In the data model this maps to the DocRule_Marketplace table.

To access the service you need at least one of the following permissions:

Permission (one of)
createDocRule
updateDocRule

Request

Responses