Properties
| Name | Type | Description |
|---|---|---|
| type | string | |
| trigger_filter | object | |
| price_drop_amount_value | object | |
| price_drop_amount_unit | string | Price Drop amount type. |
| audience | array | |
| timeframe_days | integer | |
| currency_type | string | Currency type. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/PriceDropTrigger",
"title": "PriceDropTrigger",
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"price-drop"
]
},
"trigger_filter": {
"$ref": "#/components/schemas/PriceDropConditionFilter",
"nullable": true
},
"price_drop_amount_value": {
"oneOf": [
{
"type": "integer"
},
{
"type": "number"
}
]
},
"price_drop_amount_unit": {
"description": "Price Drop amount type.",
"type": "string",
"example": "currency",
"default": "currency",
"enum": [
"currency",
"percent"
]
},
"audience": {
"type": "array",
"items": {
"type": "string",
"enum": [
"checkout-started",
"viewed"
],
"description": "The profiles which the price drop trigger applies to."
}
},
"timeframe_days": {
"type": "integer",
"example": 30,
"default": 30
},
"currency_type": {
"description": "Currency type.",
"type": "string",
"example": "usd",
"default": "usd",
"enum": [
"usd"
]
}
},
"required": [
"type",
"trigger_filter",
"price_drop_amount_value",
"audience"
]
}