Thread Options
- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Using the orders api call shown below, I am returned _all_ pending orders EXCEPT the latest one.
I have confirmed I have a pending order in Weebly. And the returned orders are correct - except I am missing one.
I am not using any date filters, only status, and sortby.
Suggestions, ideas, did something happen in the last day or so?
This call has been in use for months.
url $ site $ '/store/orders?filterby=order_status&filterfor=pending&sortby=order_date&sortdir=asc
Labels:
- Labels:
-
orders api
Reply
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report
2 REPLIES 2
Hey @wmgilligan
This could be related to the paginated response data.
Could you try adjusting the `sortdir` query parameter to "desc" instead of "asc"?
Let me know if this helps, or not please.
Reply
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report