Commerce
setOptionExclusions
Set Option Exclusions
Exclude specific option CHOICES from ONE product, or restore them: without editing the shared modifier group every other product reads.
Arguments
appIdstringrequiredThe Studio app ID whose catalog to edit.exclusionsobject[]requiredOnly the choices named here change.productIdstringrequiredThe product these option choices are excluded from.
Returns
The registry does not declare a return shape.
Declared limits
exclusions: minimum items 1
Ask for it
The Cloud routes these requests to this verb.
- don't offer gluten-free on the carrot cake
- this option shouldn't apply to that product
- put the option back on this item
Pair it with
The verbs that finish the job.