The target scope of this effect.
| Name | Type | Description | Notes |
|---|---|---|---|
| type | TypeEnum | The scope the custom effect applies to: - `cart` applies once to the whole cart. - `allItems` applies once per cart item. - `selector` applies once per item matched by the named selector. - `globalFilter` applies once per item matched by the named global item filter. - `bundle` applies once per item in the named bundle. | |
| name | String | The name of the targeted selector or bundle. Only set when `type` is `selector`, `globalFilter`, or `bundle`. | [optional] |
| Name | Value |
|---|---|
| CART | "cart" |
| ALLITEMS | "allItems" |
| SELECTOR | "selector" |
| GLOBALFILTER | "globalFilter" |
| BUNDLE | "bundle" |