Skip to content

Money filters

Filters by comparing a field to a range of monetary values.

PropertyTypeDescription
operatorRangeOperatorsThe operator to apply to the filter value
valuerange objectThe value to use for the filter operation
PropertyTypeDescription
minMoneyThe minimum monetary value for this range
maxMoneyThe maximum monetary value for this range

A JSON example of this field is:

{
"operator": "within",
"value": {
"min": {
"amount": "1000",
"currency": "USD"
},
"max": {
"amount": "10000",
"currency": "USD"
}
}
}

Filters by comparing a field to a monetary value.

PropertyTypeDescription
operatorComparisonOperatorsThe operator to apply to the filter value
valueMoneyThe value to use for the filter operation

A JSON example of this field is:

{
"operator": "eq",
"value": {
"amount": "1000",
"currency": "USD"
}
}