Vendor Order Receipts Requires Page Size
Posted: Mon Mar 28, 2022 3:44 am
Hi all,
It looks like there's been a change in functionality with the vendor order receipt endpoint.
When querying receipts on a vendor order, the prior functionality would return the receipts without a pageSize parameter needing to be supplied.
Recently, it seems this functionality has changed, where it will now return an empty array unless a pageSize parameter is supplied.
E.g.
api/v1.0/companies/3/vendorOrders/9500/receipts/
Returns '[]' - Empty array
api/v1.0/companies/3/vendorOrders/9500/receipts/?pageSize=100
Returns vendor order receipts as expected
We are having to update our services to adjust to the new functionality, but would appreciate understanding if this was an intentional change or a newly introduced API bug.
Thanks,
Andy
It looks like there's been a change in functionality with the vendor order receipt endpoint.
When querying receipts on a vendor order, the prior functionality would return the receipts without a pageSize parameter needing to be supplied.
Recently, it seems this functionality has changed, where it will now return an empty array unless a pageSize parameter is supplied.
E.g.
api/v1.0/companies/3/vendorOrders/9500/receipts/
Returns '[]' - Empty array
api/v1.0/companies/3/vendorOrders/9500/receipts/?pageSize=100
Returns vendor order receipts as expected
We are having to update our services to adjust to the new functionality, but would appreciate understanding if this was an intentional change or a newly introduced API bug.
Thanks,
Andy