# Shopware 5 Api - Limit

**URL:** https://forum.shopware.com/t/shopware-5-api-limit/67997
**Category:** Administration
**Created:** [29. Juni 2020 um 22:03 UTC](https://forum.shopware.com/t/shopware-5-api-limit/67997 "2020-06-29T22:03:46Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![brettvormkopp](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/brettvormkopp/32/7788_2.png) [@brettvormkopp](https://forum.shopware.com/u/brettvormkopp)
#### Post date: [29. Juni 2020 um 22:03 UTC](https://forum.shopware.com/t/shopware-5-api-limit/67997/1 "2020-06-29T22:03:46Z")

</div>

Hallo, ich bekomme bei der Api kein Limit. Ich nutze den PHP-Client.&nbsp;

```
$filter = array(
    array(
        'property' => 'limit',
        'expression' => '=',
        'value' => 1
    )
}

```

oder&nbsp;

```
$filter = array(
    array(
        'limit' => 1
    )
}

```

funktionieren bei mir nicht wenn ich auf api/orders/ gehe. Hat jemand eine Idee? Danke und Gruss

---

<div class="post-metadata">

### Author: ![shyim](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/shyim/32/7681_2.png) [@shyim](https://forum.shopware.com/u/shyim)
#### Post date: [30. Juni 2020 um 06:26 UTC](https://forum.shopware.com/t/shopware-5-api-limit/67997/2 "2020-06-30T06:26:42Z")

</div>

Limit ist kein Filter. Das ist ein eigener Parameter

---

<div class="post-metadata">

### Author: ![brettvormkopp](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/brettvormkopp/32/7788_2.png) [@brettvormkopp](https://forum.shopware.com/u/brettvormkopp)
#### Post date: [30. Juni 2020 um 07:35 UTC](https://forum.shopware.com/t/shopware-5-api-limit/67997/3 "2020-06-30T07:35:09Z")

</div>

@Shyim‍ meinst du sowas hier: **orders/123?userNumberAsId=true&limit=1** &nbsp;

---

<div class="post-metadata">

### Author: ![shyim](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/shyim/32/7681_2.png) [@shyim](https://forum.shopware.com/u/shyim)
#### Post date: [30. Juni 2020 um 08:51 UTC](https://forum.shopware.com/t/shopware-5-api-limit/67997/4 "2020-06-30T08:51:27Z")

</div>

Genau
