Skip to main content
Required scopes: checkout_write

Arguments

The rule to create.

Returns

A store-level checkout discount rule: when its conditions match the cart, its discount applies to the targeted delivery options. The first matching active rule wins.

Example