How to retrieve the datetime when a deal moves from stage X to stage Y?
It depends on your use case:
- If you wish this endpoint to move deals between stages, then it will return a
timestampvalue when you update thedealstageproperty. - If you need to subscribe to deal stage changes in portals where your OAuth app is installed, you can use the Webhooks API and use the
deal.propertyChangesubscription type, specifying thedealstageproperty. The webhook notifications will include aoccurredAttimestamp. - If you aim to retrieve historical timestamp values, however, you must export the history of the
dealstageproperty in your portal. This can be done for all deals at once, as outlined in the Export property history section of this article.