Bulk activate scenarios
Scenarios can be bulk activated via API using the https://apis.supplierxm.salsify.com/public/v1/validation/rulesets/require endpoint. Its reference is available here: Bulk activate scenarios .
curl --request POST \
--url https://apis.supplierxm.salsify.com/public/v1/validation/rulesets/require \
--header 'Authorization: Bearer SALSIFY_TOKEN'
--header 'Content-Type: application/json'
--data '{"uuids":["uuid1","uuid2"],"ruleset_values":{"1":true,"2":false}}'
Eligible products are those for which product data was shared by a manufacturer (for instance products with pending assignation are not eligible for scenario activation).
To activate scenarios on products you must specify:
- on which products this update applies, these products are identified by their
uuid
- which scenarios should be activated/deactivated: scenarios are identified by their
id
(see section List available scenarios for your organization )
API References
Updated about 2 months ago