# Retrieving New Shipments

**URL:** <https://forums.ordoro.com/t/retrieving-new-shipments/744>\
**Category:** Uncategorized\
**Created:** [June 29, 2021, 3:17pm UTC](https://forums.ordoro.com/t/retrieving-new-shipments/744 "2021-06-29T15:17:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![beckenrod](https://avatars.discourse-cdn.com/v4/letter/b/e47774/32.png) [@beckenrod](https://forums.ordoro.com/u/beckenrod)\
**Post date:** [June 29, 2021, 3:17pm UTC](https://forums.ordoro.com/t/retrieving-new-shipments/744/1 "2021-06-29T15:17:42Z")

</div>

Hello,

We are trying to pull out data from Ordoro for “new” shipments. We have an application that polls Ordoro on a schedule and requests orders that have shipped since our last run. We save the last run date/time on each loop so we can subsequently request shipments since that time.

Our request looks like this:  
[https://api.ordoro.com/v3/order?sales\_channel=105511&shipped\_after=+lastRun](https://api.ordoro.com/v3/order?sales_channel=105511&shipped_after=+lastRun)

“lastRun” is just our variable that holds the date/time stamp of the last time we polled for shipments

We recently hit an issue where some orders were tagged with a future date of shipment. That caused our application to keep picking up the same few orders over and over.

Is there some other different/better way that we can request new orders or prevent future orders from being picked up in our polling?

Thank you.

---

<div class="post-metadata">

**Author:** ![syork](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.ordoro.com/syork/32/61_2.png) [@syork](https://forums.ordoro.com/u/syork)\
**Post date:** [June 29, 2021, 4:02pm UTC](https://forums.ordoro.com/t/retrieving-new-shipments/744/2 "2021-06-29T16:02:08Z")

</div>

Sounds like you’d possibly need something like a `date when marked as shipped` field which we currently do not have.

The returned `order_number` is unique, so you can use that to determine if an order has been fetched in a previous request.

---

<div class="post-metadata">

**Author:** ![RPZwilling](https://avatars.discourse-cdn.com/v4/letter/r/3ec8ea/32.png) [@RPZwilling](https://forums.ordoro.com/u/RPZwilling)\
**Post date:** [June 29, 2021, 4:21pm UTC](https://forums.ordoro.com/t/retrieving-new-shipments/744/3 "2021-06-29T16:21:05Z")

</div>

We had a similar issue … we retrieved the list of orders … added a tag to the orders selected … then on the next retrieve omit orders with the assigned tag.
