ZoneRule
Type: object
| Field | Type | Description |
|---|---|---|
type | "price" | "product" | |
value | string | number | |
condition | "productTypeContains" | "productTypeDoesNotContains" | "productTagsContains" | "productTagsDoesNotContains" | "lower" | "higher" |
Example (illustrative)
{
"type": "price",
"value": 1,
"condition": "productTypeContains"
}Used by
Declared in api-types/src/models/zone.ts.