Skip to content

Shipment UpdatedAt Criterion

The UpdatedAt Search Criterion searches for shipments based on the date when their status was updated.

Arguments

  • updatedAt - date to be matched, provided as a DateTimeInterface object
  • operator - optional operator string (EQ, GT, GTE, LT, LTE)

Example

PHP

1
2
3
4
5
6
$criteria = new \Ibexa\Contracts\Shipping\Shipment\Query\Criterion\UpdatedAt(
    new DateTime('2023-03-01'),
    'GTE'
);

$query = new ShipmentQuery($criteria);