Skip to main content
Answer

How to filter purchase order API

  • February 21, 2025
  • 1 reply
  • 25 views

ZhengTzer
Apprentice
Forum|alt.badge.img

Hi

 

i need to retrieve purchase order through API with filter as below

“created_at” and “created_by”

 

but purchase order doesn’t seem have this filter, which is unusual, can anyone shed some light?

else the purchase order API will be totally unuseable as i have to always retrieve all

 

"https://abc.freshservice.com/api/v2/purchase_orders"

ref @Service Desk API for Developers | Freshservice

 

 

thanks

Jonathan

Best answer by suryaprakashps

Hi Zheng,

 

The Purchase Order API currently does not support filtering directly by "created_at" or "created_by." To retrieve purchase orders with specific criteria, you would need to pull all purchase orders using the endpoint and apply your filters programmatically on your side.

 

Thank you!

1 reply

suryaprakashps
Community Debut
Forum|alt.badge.img
  • Community Debut
  • Answer
  • July 10, 2025

Hi Zheng,

 

The Purchase Order API currently does not support filtering directly by "created_at" or "created_by." To retrieve purchase orders with specific criteria, you would need to pull all purchase orders using the endpoint and apply your filters programmatically on your side.

 

Thank you!