Purchase orders endpoint - issue with show_complete attribute

Hello,

I’m calling the purchase_orders endpoint with show_complete=false
(https://api.veeqo.com/purchase_orders?page=1&page_size=25&show_complete=false)

But I retrieve all purchase orders from that call, even those that have the status completed. Is that normal ?

Hey @valentinM

Welcome to the forum!

Looks like there was an issue on our end, if you can email me your company ID, I can get one of the team to reindex the PO’s for you.

Apologies for any inconvenience.

Cheers
Laura

Hello Laura,

Thanks for the quick reply, I don’t know where to find my company id ?

Regards,
Valentin

I’ve double checked and seems the documentation needs updating which I’ll do now!

The show_complete=false parameter has been replaced with state=X where X can be active , draft or completed.

I hope that helps, please come back to me if you have any further problems.

Cheers
Laura

It works perfectly thanks a lot :slight_smile:

1 Like