Skip to content

IntegerAttributeRange Criterion

The IntegerAttributeRange Search Criterion searches for products by the range of values of their integer attribute.

Arguments

  • identifier - string representing the attribute
  • min - indicating the beginning of the range
  • max - indicating the end of the date range

Example

REST API

1
2
3
4
5
6
7
8
9
<AttributeQuery>
    <Query>
        <IntegerAttributeRangeCriterion>
            <identifier>length</identifier>
            <min>16</min>
            <max>25</max>
        </IntegerAttributeRangeCriterion>
    </Query>
</AttributeQuery>
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
{
    "AttributeQuery": {
        "Query": {
            "IntegerAttributeRangeCriterion": {
                "identifier": "length",
                "min": 16,
                "max": 25
            }
        }
    }
}