Open ddhara opened 7 years ago
You can do that by setting the limit filter like so: $data = $client->orders->get( NULL , array ( 'filter[limit]' => 100 ) );
Or, if you want to work with date intervals you can, for example, use the updated_at_min and updated_at_max filters: $data = $client->orders->get( NULL , array( 'filter[updated_at_min]' => '2016-01-01' , 'filter[updated_at_max]' => '2017-01-01' ) );
You can use this to get all the orders in the filter criteria without paging.
$result = $client->orders->get('', array('filter[limit]' => '-1' , 'status' => 'Processing' , 'filter[created_at_min]' => '2016-01-01' , 'filter[created_at_max]' =>'2017-01-01') );
Getting only 10 orders at a time. How can I get all the orders together? I am using below code: