# PO fails to return 500 POs

**URL:** <https://forums.ordoro.com/t/po-fails-to-return-500-pos/667>\
**Category:** Uncategorized\
**Created:** [March 3, 2021, 1:17pm UTC](https://forums.ordoro.com/t/po-fails-to-return-500-pos/667 "2021-03-03T13:17:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jmawebtech](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.ordoro.com/jmawebtech/32/20_2.png) [@jmawebtech](https://forums.ordoro.com/u/jmawebtech)\
**Post date:** [March 3, 2021, 1:17pm UTC](https://forums.ordoro.com/t/po-fails-to-return-500-pos/667/1 "2021-03-03T13:17:49Z")

</div>

Hi,

Error: Only first 100 POs pulled, but I asked for 500.

Here is the request and response. I am using the V2 API. Can I use V3?

GET [https://api.ordoro.com/purchase\_order/?limit=500&start\_date=2020-12-01T15:00:00.0000000Z&end\_date=2021-12-31T04:59:00.0000000Z&offset=0](https://api.ordoro.com/purchase_order/?limit=500&start_date=2020-12-01T15:00:00.0000000Z&end_date=2021-12-31T04:59:00.0000000Z&offset=0) HTTP/1.1  
Accept: application/json  
Content-Type: application/json  
User-Agent: JMA Web Technologies  
X-Partner: JMAWebTechnologies  
Authorization: Basic X=  
Host: [api.ordoro.com](http://api.ordoro.com)

HTTP/1.1 200 OK  
cache-control: no-cache,max-age=0,must-revalidate  
Content-Type: application/json  
Date: Wed, 03 Mar 2021 13:01:29 GMT  
pragma: no-cache  
Server: gunicorn/19.7.1  
Strict-Transport-Security: max-age=31536000; includeSubDomains  
Vary: Accept-Encoding  
X-API-REQUEST-ID: ae63e430-b98d-4761-9696-04045610fe13  
X-Ordoro-API-Server: i-071fe1adaa46f6e5e 1.1264.0  
X-ORDORO-HANDLED-BY: ip-172-31-31-186  
Content-Length: 2030332  
Connection: keep-alive

{“count”: 111, “limit”: 100, “offset”: 0, “purchase\_order”: [{“status”: “partial”, “company\_id”: 572145, “po\_id”: “20210216-115123567”,

---

<div class="post-metadata">

**Author:** ![Srini](https://avatars.discourse-cdn.com/v4/letter/s/e9bcb4/32.png) [@Srini](https://forums.ordoro.com/u/Srini)\
**Post date:** [March 3, 2021, 1:32pm UTC](https://forums.ordoro.com/t/po-fails-to-return-500-pos/667/2 "2021-03-03T13:32:24Z")

</div>

Hi Jmawebetch,  
By default the max limit is set to 100 only by Ordoro. To get 500 POs you need to use offset and all the requested POs.
