Skip to content
For AI agents: the complete documentation index is available at llms.txt; this page is also available as Markdown at index.md.

UpdatedAtRange Criterion

The UpdatedAtRange Search Criterion searches for products based on the date range when they were last updated.

Arguments

  • min - the start of the date range (inclusive), provided as a string acceptable by DateTimeInterface
  • max - the end of the date range (inclusive), provided as a string acceptable by DateTimeInterface

At least one of min or max must be provided.

Example

You can use this Search Criterion over the REST API, in the payload of the POST /product/catalog/products/view request:

1
2
3
4
5
6
7
8
<ProductQuery>
    <Filter>
        <UpdatedAtRangeCriterion>
            <min>2023-06-12</min>
            <max>2023-06-20</max>
        </UpdatedAtRangeCriterion>
    </Filter>
</ProductQuery>
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
{
  "ProductQuery": {
    "Filter": {
      "UpdatedAtRangeCriterion": {
        "min": "2023-06-12",
        "max": "2023-06-20"
      }
    }
  }
}