Discussions

Ask a Question
Back to All

Pagation - List all shipments

Hi we are using Celigo and trying to list shipments. We are unable to determine the last page, thus we get an error:

{"error":{"code":"invalid_url_param","details":["expected :page to be < 5; got 5"],"message":"The request URL param is invalid.","request_id":"2c2cdace47bf69de30c50c460ab7ec52","type":"invalid_request_error"}}

We are looking for a end value or some other method to know when to stop requesting pages.

Thanks!