Page 1 of 1

Vendor Order Receipts Requires Page Size

Posted: Mon Mar 28, 2022 3:44 am
by AndyRees
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

Re: Vendor Order Receipts Requires Page Size

Posted: Mon Mar 28, 2022 10:53 pm
by robbertcha
Hi,

This endpoint is working fine on our end, do you mind to tell us your build details via private message? I will check it for you, thank you.