Purchase Order (where) filter
It is essential for our product to be able to filter Purchase Order by Contact, just like the Invoice end-point;
Furthermore, having a symmetrical capabilities in "major" end points is a believe important to have - http://developer.xero.com/documentation/getting-started/http-requests-and-responses/#title3.
-
Andrew Hills commented
We have purchase orders going into Xero with a purchase order number such as "ABCDE/123" which are the purchase order numbers used in DataBuild. The forward slash breaks the search by purchase order number via the API e.g. https://api.xero.com/api.xro/2.0/PurchaseOrders/ABCDE/123. Have tried many different combinations of escaping the forward slash, including quotes, escaped quotes, but nothing works. Is the only option to search through every single purchase order, page by page? That's a lot of API calls.
-
Anonymous commented
We've been on Xero at least a couple years now, and I am not surprised anymore. Such a horrible API.
-
Hacked Off commented
I've just spent the entire day trying to get this to work - Xero may have a polished website and some decent PR, but the API is appalling. Makes you wonder what the codebase is really like.
This was first raised in 2016.
Less time playing ping-pong, more time supporting developers that are forced to build functionality for their clients as they're fed up waiting for you to implement it?
-
You gotta be kidding me commented
Who in their right mind inherits from a class giving access to a method that doesn't work for the child class?? Do you understand the point of inheritance in classes?
-
Anonymous commented
The 'where' feature is not available for PO but we can directly add filter on PO.
refer :- https://developer.xero.com/documentation/api/purchase-orders -
Sophie commented
This would be extremely useful for us. Are there any plans to add this feature?
-
Chris commented
This would be very useful for us too. The alternate is the fetch the entire PO list for the organisation and filter them on our end. Having to page through the results makes this even more awkward, and uses up large amounts of API requests limits.
The best solution we have now is a scheduled task to fetch and cache the entire PO list every 15 minutes and then filter from that in our application.
-
Rosalind Hull commented
Our website whizz kid, and believe me the guy is an absolute genius, is struggling with the inconsistency of Xero API. According to him 'there are big chunks of API functionality simply missing'.
For example its impossible filter PO's because the "where" filter is missing for Purchase Orders.
Give the guy a break and do something to sort it please, -
Anonymous commented
The PO's look a little under developed compared with other functions in Xero. Creating PO's and being able to search them logically is a real need for us.
-
Daniel Bull commented
This is a pretty serious issue for us. Currently we have no way to fetch PO's for a customer other than retrieve page after page of them until we find the ones we are looking for.
After seeing the where filter it in the other major modules I'm surprised its missing from PO's?