diff --git a/src/ApiPlatform/Resources/CartRule.php b/src/ApiPlatform/Resources/CartRule.php index 1cbe27c..06a26bf 100644 --- a/src/ApiPlatform/Resources/CartRule.php +++ b/src/ApiPlatform/Resources/CartRule.php @@ -30,7 +30,11 @@ operations: [ new CQRSUpdate( uriTemplate: '/cart-rule', - CQRSCommand: EditCartRuleCommand::class + CQRSCommand: EditCartRuleCommand::class, + scopes: [ + 'cart_rule_write', + ], + experimentalOperation: true, ), ], )]