# Order Source Criterion

> For the complete documentation index, see [llms.txt](https://doc.ibexa.co/en/5.0/llms.txt).

Order Source Search Criterion

Editions: Commerce

The `SourceCriterion` Search Criterion searches for orders based on the source of the order.

## Arguments

- `source` - string that represents the source of the order

## Example

### PHP

```php
use Ibexa\Contracts\Core\Repository\Values\Content\Query\Criterion;
use Ibexa\Contracts\OrderManagement\Value\Order\OrderQuery;

$query = new OrderQuery(
    new \Ibexa\Contracts\OrderManagement\Value\Order\Query\Criterion\SourceCriterion('local_shop')
);
```
