A block that grants a discount when its rule conditions evaluate to true. The target field determines what the discount applies to (the whole cart, a subset of items, a bundle, an additional cost, etc.); the value field is the discount amount.
| Name | Type | Description | Notes |
|---|---|---|---|
| id | String | Unique identifier for this block. | [optional] [readonly] |
| type | String | Identifies the block variant and determines which additional properties are present in it. | |
| tags | List<String> | Semantic labels attached to this block. | [optional] [readonly] |
| name | String | The human-readable label attached to the discount. | |
| value | Object | Discount amount. Either a numeric scalar or a `{{expression}}` string that resolves to a number at evaluation time. | |
| partial | Boolean | Whether to apply a partial discount when the requested value exceeds the configured budget. | |
| target | Object | Identifies the scope a discount applies to. The `type` field selects the concrete target variant. |