Skip to content

Commit

Permalink
Set cart rule endpoint as experimental
Browse files Browse the repository at this point in the history
  • Loading branch information
jolelievre committed Mar 27, 2024
1 parent fd1eca6 commit e4b4445
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/ApiPlatform/Resources/CartRule.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,11 @@
operations: [
new CQRSUpdate(
uriTemplate: '/cart-rule',
CQRSCommand: EditCartRuleCommand::class
CQRSCommand: EditCartRuleCommand::class,
scopes: [
'cart_rule_write',
],
experimentalOperation: true,
),
],
)]
Expand Down

0 comments on commit e4b4445

Please sign in to comment.