I was able to accomplish this by using postquerypostquery
instead of query. postquerypostquery
uses Post and you have to add the managed propriety name to the SelectPropertiesSelectProperties
. More information seeat: https://learn.microsoft.com/en-us/sharepoint/dev/general-development/sharepoint-search-rest-api-overview#post-requestsSharePoint Search REST API overview - Post requests
Remember to add the field to the manage proprieties search schema. I added mine under the search schema under the site level, I couldn't find the field under the tenant level. (site setting->Site Collection Administration-> Search Schema -> New Managed Property )