class ShipCompliant::SearchMoreSalesOrders
ShipCompliant::SearchMoreSalesOrders
¶ ↑
This method is used in conjunction with SearchSalesOrders
to get more results from the search that was performed using SearchSalesOrders
. This method will return 100 results each time.
Only use this method in conjunction with SearchSalesOrders
. When there are more results available from the search, call this method with the token returned from the SearchSalesOrders
results or returned from a subsequent call of SearchMoreSalesOrders
to see the next page of results.
orders = ShipCompliant::SearchMoreSalesOrders.paging_cookie('paging-cookie') puts "#{orders.remaining_orders_length} orders left" orders.summaries.each do |summary| puts summary.purchase_date #=> DateTime end