Unable to search archived purchase orders
Posted: Fri Mar 20, 2020 12:05 am
Hi Team,
We are unable to use the Vendor Order API query to pull up closed (Archived) purchase orders.
For our needs, we want to do a refresh of the purchase order values in a target system, and we're using the vendor order search to pull that information however once the purchase order is archived, it is no longer retrievable via the search.
E.g. If I perform a GET request such as api/v1.0/companies/3/vendorOrders/?Stage=Archived it always returns nothing (empty array, []).
I've tried this in both our customer's build and the sandbox environment and it seems to return the same in both, however I wondered if anyone else had encountered this issue or knew of a solution.
Thanks in advance for your help,
Andy
We are unable to use the Vendor Order API query to pull up closed (Archived) purchase orders.
For our needs, we want to do a refresh of the purchase order values in a target system, and we're using the vendor order search to pull that information however once the purchase order is archived, it is no longer retrievable via the search.
E.g. If I perform a GET request such as api/v1.0/companies/3/vendorOrders/?Stage=Archived it always returns nothing (empty array, []).
I've tried this in both our customer's build and the sandbox environment and it seems to return the same in both, however I wondered if anyone else had encountered this issue or knew of a solution.
Thanks in advance for your help,
Andy