Quote History Tracking

Hi,

Actually the situation is that, I write a script to inspect quote’s hs_payment_date field. After my script found that hs_payment_field has been filled, it will send me an e-mail to notify me. The weird thing is that, yesterday I received an email to notify me a quote has been paid with exatly the payment date, which is not paid when I check it. And I use the same endpoint to check the quote hs_payment_date field, it is null value.

My script has been set to auto-run for over a month, this is the first time this strange thing happened.

I want to know, are there any chances that quote api give me a wrong payment_date value or can I get the quote change history?

By the way, the endpoint I am using now for get the quote data is this one,

https://api.hubapi.com/crm/v3/objects/quotes/search

For searching the latest changed quote by last_modified_date field.

Thanks.

Hey @Jason_Kou

If you can get the quote id, you could query CRM object endpoint and include the archive. would look something like this

https://api.hubapi.com/crm/v3/objects/quotes/quoteid?archived=true&properties=hs_payement_field&hapikey=xxx

Hi, Dennis.

Thanks for your replying. I have tried this end point, but when I added archived = true, server returned me a bad response which is status code 404. If I removed this parameter, this end point should be used well.

Best.

Hey @Jason_Kou

Apologies! I made a mistake. That would only work if the quote object itself was deleted. The only method of seeing the history of properties is using propertyMode=value_and_history which is not yet available on the v3 API endpoints.

I would recommend contacting support on this case if possible. Contact info is on this page https://help.hubspot.com/

Good luck!

Hi, Dennis.

Thanks a lot. Sure, I will contact with support.

Best.

+1 : UI for quotes object history browsing . admin/object owner access