PO fails to return 500 POs


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 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/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”,

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.

1 Like