Skip to content

Order Status Criterion

The StatusCriterion Search Criterion searches for orders based on order status.

Arguments

  • status - string that represents the status of the order, takes values defined in order management workflow

Example

PHP

1
2
3
$query = new OrderQuery(
    new \Ibexa\Contracts\OrderManagement\Value\Order\Query\Criterion\StatusCriterion('pending')
);